Method | Description | |
---|---|---|
AddTask ( Func |
Creates a new task and schedules it to run.
|
|
StartScheduler ( ) : void |
Starts executing tasks and does not return until all tasks have completed execution. If a scheduled task throws an exception, it will be raised here. If no tasks are scheduled, an exception will be thrown. |
Method | Description | |
---|---|---|
CompleteTask ( ) : void | ||
CompleteTask ( Task t ) : void | ||
StartTask ( ) : void |