C# Class Squared.Task.SchedulableGeneratorThunk

Inheritance: ISchedulable, IDisposable
ファイルを表示 Open project: sq/Fracture Class Usage Examples

Public Properties

Property Type Description
OnNextValue IFuture>.Func
WakeCondition IFuture

Public Methods

Method Description
Dispose ( ) : void
ISchedulable ( TaskScheduler scheduler, IFuture future ) : void
OnDisposed ( IFuture _ ) : void
OnErrorChecked ( ) : void
QueueStep ( ) : void
QueueStepOnComplete ( IFuture f ) : void
QueueStepOnDispose ( IFuture f ) : void
SchedulableGeneratorThunk ( IEnumerator task ) : System
ScheduleNextStep ( Object value ) : void
ScheduleNextStepForCLRTask ( System stt ) : void
ScheduleNextStepForSchedulable ( ISchedulable value ) : void
SetWakeCondition ( IFuture f, bool discardingResult ) : void
SetWakeConditionAndSubscribe ( IFuture f, bool discardingResult ) : void
Step ( ) : void
ToString ( ) : string

Private Methods

Method Description
Abort ( Exception ex ) : void
CheckForDiscardedError ( ) : bool
CompleteWithResult ( ITaskResult result ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

ISchedulable() public method

public ISchedulable ( TaskScheduler scheduler, IFuture future ) : void
scheduler TaskScheduler
future IFuture
return void

OnDisposed() public method

public OnDisposed ( IFuture _ ) : void
_ IFuture
return void

OnErrorChecked() public method

public OnErrorChecked ( ) : void
return void

QueueStep() public method

public QueueStep ( ) : void
return void

QueueStepOnComplete() public method

public QueueStepOnComplete ( IFuture f ) : void
f IFuture
return void

QueueStepOnDispose() public method

public QueueStepOnDispose ( IFuture f ) : void
f IFuture
return void

SchedulableGeneratorThunk() public method

public SchedulableGeneratorThunk ( IEnumerator task ) : System
task IEnumerator
return System

ScheduleNextStep() public method

public ScheduleNextStep ( Object value ) : void
value Object
return void

ScheduleNextStepForCLRTask() public method

public ScheduleNextStepForCLRTask ( System stt ) : void
stt System
return void

ScheduleNextStepForSchedulable() public method

public ScheduleNextStepForSchedulable ( ISchedulable value ) : void
value ISchedulable
return void

SetWakeCondition() public method

public SetWakeCondition ( IFuture f, bool discardingResult ) : void
f IFuture
discardingResult bool
return void

SetWakeConditionAndSubscribe() public method

public SetWakeConditionAndSubscribe ( IFuture f, bool discardingResult ) : void
f IFuture
discardingResult bool
return void

Step() public method

public Step ( ) : void
return void

ToString() public method

public ToString ( ) : string
return string

Property Details

OnNextValue public_oe property

public Func OnNextValue
return IFuture>.Func

WakeCondition public_oe property

public IFuture WakeCondition
return IFuture