Toolbox 0.0.1
Ritchie's accessible game engine'
Loading...
Searching...
No Matches
JobThread Class Referencesealed
Inheritance diagram for JobThread:
IJobThread

Public Member Functions

void StartAcceptingWork ()
 
void StopAcceptingWork ()
 
void Perform (Action action)
 
Task PerformAsync (Action action)
 
Task< T > ComputeAsync< T > (Func< T > function)
 

Properties

string Name [get, set]
 
bool IsAcceptingWork [get]
 

Events

Action? WorkStarted
 
Action? WorkEnded
 

Member Function Documentation

◆ ComputeAsync< T >()

Task< T > ComputeAsync< T > ( Func< T > function)
inline

Implements IJobThread.

◆ Perform()

void Perform ( Action action)
inline

Implements IJobThread.

◆ PerformAsync()

Task PerformAsync ( Action action)
inline

Implements IJobThread.

◆ StartAcceptingWork()

void StartAcceptingWork ( )
inline

Implements IJobThread.

◆ StopAcceptingWork()

void StopAcceptingWork ( )
inline

Implements IJobThread.

Property Documentation

◆ IsAcceptingWork

bool IsAcceptingWork
get

Implements IJobThread.

◆ Name

string Name
getset

Implements IJobThread.


The documentation for this class was generated from the following file: