Interface IUntypedActorContext
Interface IUntypedActorContext
Inherited Members
Namespace: Akka.Actor
Assembly: Akka.dll
Syntax
public interface IUntypedActorContext : IActorContext, IActorRefFactory, ICanWatch
Methods
| Improve this Doc View SourceBecome(UntypedReceive)
Changes the actor's behavior and replaces the current receive handler with the specified handler.
Declaration
void Become(UntypedReceive receive)
Parameters
Type | Name | Description |
---|---|---|
UntypedReceive | receive | The new message handler. |
BecomeStacked(UntypedReceive)
Changes the actor's behavior and replaces the current receive handler with the specified handler.
The current handler is stored on a stack, and you can revert to it by calling UnbecomeStacked()
Declaration
void BecomeStacked(UntypedReceive receive)
Parameters
Type | Name | Description |
---|---|---|
UntypedReceive | receive | The new message handler. |