| TestKitBaseReceiveOne 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.129 (1.2.3.129)
Syntax public Object ReceiveOne(
CancellationToken cancellationToken
)
member ReceiveOne :
cancellationToken : CancellationToken -> Object
Parameters
- cancellationToken
- Type: System.ThreadingCancellationToken
A token used to cancel the operation
Return Value
Type:
ObjectThe message if one was received;
null otherwise
See Also