Click or drag to resize
Akka.NETBlockingQueueTTake Method
Removes an item from the collection.

Namespace:  Akka.TestKit.Internal
Assembly:  Akka.TestKit (in Akka.TestKit.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax
public T Take(
	CancellationToken cancellationToken
)

Parameters

cancellationToken
Type: System.ThreadingCancellationToken
The cancellation token that can be used to cancel the operation.

Return Value

Type: T
The item removed from the collection.
Exceptions
ExceptionCondition
OperationCanceledException This exception is thrown when the operation is canceled.
See Also