| InboxreceiveMessage Method |
Receives a next message sent to the inbox. This is a blocking operation.
Returns None if timeout occurred or message is incompatible with expected response type.
Namespace:
Akka.FSharp
Assembly:
Akka.FSharp (in Akka.FSharp.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax public static FSharpOption<Message> receive<Message>(
TimeSpan timeout,
Inbox i
)
static member receive :
timeout : TimeSpan *
i : Inbox -> FSharpOption<'Message>
Parameters
- timeout
- Type: SystemTimeSpan
[Missing <param name="timeout"/> documentation for "M:Akka.FSharp.Inbox.receive``1(System.TimeSpan,Akka.Actor.Inbox)"]
- i
- Type: Akka.ActorInbox
[Missing <param name="i"/> documentation for "M:Akka.FSharp.Inbox.receive``1(System.TimeSpan,Akka.Actor.Inbox)"]
Type Parameters
- Message
[Missing <typeparam name="Message"/> documentation for "M:Akka.FSharp.Inbox.receive``1(System.TimeSpan,Akka.Actor.Inbox)"]
Return Value
Type:
FSharpOptionMessage[Missing <returns> documentation for "M:Akka.FSharp.Inbox.receive``1(System.TimeSpan,Akka.Actor.Inbox)"]
See Also