InputPortTDequeue Method

Dequeues a message. Blocks until a message is available.

Definition

Namespace: Quine.Graph
Assembly: Quine.Graph (in Quine.Graph.dll) Version: 1.0.0+0ea0706914ee4edf2b0ed66bec3ab4d062a43b68
C#
public Task<T> Dequeue(
	CancellationToken token
)

Parameters

token  CancellationToken

[Missing <param name="token"/> documentation for "M:Quine.Graph.InputPort`1.Dequeue(System.Threading.CancellationToken)"]

Return Value

TaskT
The dequeued message. In the current implementation, this method never returns null. In future version, when support for multiple inputs per node is added, this may be allowed to return null.

Exceptions

ChannelClosedExceptionAll output ports connected to this port have been closed.

See Also