ActReceiveAnyAsync Method |
Name | Description | |
---|---|---|
ReceiveAnyAsync(FuncObject, Task) |
Registers an asynchronous handler for incoming messages of any type.
(Inherited from ReceiveActor.)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. | |
ReceiveAnyAsync(FuncObject, IActorContext, Task) |
Registers an asynchronous handler for any incoming message that has not already been handled.
|