C# 클래스 Austin.LibTaskNet.CoopScheduler

파일 보기 프로젝트 열기: AustinWise/LibTaskNet

공개 메소드들

메소드 설명
AddTask ( Func task ) : void

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.

비공개 메소드들

메소드 설명
CompleteTask ( ) : void
CompleteTask ( Task t ) : void
StartTask ( ) : void

메소드 상세

AddTask() 공개 정적인 메소드

Creates a new task and schedules it to run.
public static AddTask ( Func task ) : void
task Func
리턴 void

StartScheduler() 공개 정적인 메소드

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.
public static StartScheduler ( ) : void
리턴 void