 | ReceiveActorReceiveAnyAsync Method |
Registers an asynchronous handler for incoming messages of any type.
RemarksThe actor will be suspended until the task returned by handler completes.
Remarks
RemarksNote that handlers registered prior to this may have handled the message already.
In that case, this handler will not be invoked.
Namespace:
Akka.Actor
Assembly:
Akka (in Akka.dll) Version: 1.2.3.129 (1.2.3.129)
Syntaxprotected void ReceiveAnyAsync(
Func<Object, Task> handler
)
member ReceiveAnyAsync :
handler : Func<Object, Task> -> unit
Parameters
- handler
- Type: SystemFuncObject, Task
The message handler that is invoked for all
See Also