Click or drag to resize
Akka.NETReceiveActorReceiveAnyAsync Method
Registers an asynchronous handler for incoming messages of any type.
Remarks
The actor will be suspended until the task returned by handler completes.
Remarks
This method may only be called when constructing the actor or from Become(Action) or BecomeStacked(Action).
Remarks
Note 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.42 (1.2.3.42)
Syntax
protected void ReceiveAnyAsync(
	Func<Object, Task> handler
)

Parameters

handler
Type: SystemFuncObject, Task
The message handler that is invoked for all
See Also