| ActReceiveAnyAsync Method (FuncObject, IActorContext, Task) |
Registers an asynchronous handler for any incoming message that has not already been handled.
Namespace:
Akka.Actor.Dsl
Assembly:
Akka (in Akka.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax public void ReceiveAnyAsync(
Func<Object, IActorContext, Task> handler
)
abstract ReceiveAnyAsync :
handler : Func<Object, IActorContext, Task> -> unit
override ReceiveAnyAsync :
handler : Func<Object, IActorContext, Task> -> unit
Parameters
- handler
- Type: SystemFuncObject, IActorContext, Task
The message handler that is invoked for all
Implements
IActorDslReceiveAnyAsync(FuncObject, IActorContext, Task)See Also