Click or drag to resize
Akka.NETTestKitBaseReceiveOne Method (CancellationToken)
Receive one message from the internal queue of the TestActor. This method blocks until cancelled.

Namespace:  Akka.TestKit
Assembly:  Akka.TestKit (in Akka.TestKit.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax
public Object ReceiveOne(
	CancellationToken cancellationToken
)

Parameters

cancellationToken
Type: System.ThreadingCancellationToken
A token used to cancel the operation

Return Value

Type: Object
The message if one was received; null otherwise
See Also