| InboxReceive Method (TimeSpan) |
Receive a single message from
Receiver actor.
Provided
timeout is used for cleanup purposes.
NOTE:
timeout resolution depends on system's scheduler.
Namespace:
Akka.Actor
Assembly:
Akka (in Akka.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax public Object Receive(
TimeSpan timeout
)
abstract Receive :
timeout : TimeSpan -> Object
override Receive :
timeout : TimeSpan -> Object
Parameters
- timeout
- Type: SystemTimeSpan
TBD
Return Value
Type:
ObjectTBD
Implements
IInboxableReceive(TimeSpan)Exceptions Exception | Condition |
---|
TimeoutException |
This exception is thrown if the inbox received a StatusFailure response message or
it didn't receive a response message by the given timeout .
|
Remarks
Don't use this method within actors, since it block current thread until a message is received.
See Also