Header menu logo B2R2

TaskWorkerCommandStream<'FnCtx, 'GlCtx> Type

Stream of commands consumed by task workers.

Constructors

Constructor Description

TaskWorkerCommandStream()

Full Usage: TaskWorkerCommandStream()

Returns: TaskWorkerCommandStream<'FnCtx, 'GlCtx>
Returns: TaskWorkerCommandStream<'FnCtx, 'GlCtx>

Instance members

Instance member Description

this.Close

Full Usage: this.Close

Stop receiving nor producing commands.

this.Post

Full Usage: this.Post

Parameters:

Post a command to the stream.

command : TaskWorkerCommand<'FnCtx, 'GlCtx>

this.Receive

Full Usage: this.Receive

Parameters:
Returns: Task<TaskWorkerCommandStatus<'FnCtx, 'GlCtx>>

Receive a command from the stream.

ct : CancellationToken
Returns: Task<TaskWorkerCommandStatus<'FnCtx, 'GlCtx>>

Type something to start searching.