| ReceivePersistentActorBecomeStacked Method (Action) |
Changes the actor's command behavior and replaces the current receive command handler with the specified handler.
The current handler is stored on a stack, and you can revert to it by calling
UnbecomeStackedRemarks Please note, that in order to not leak memory, make sure every call to
BecomeStacked(Action)
is matched with a call to
UnbecomeStacked.
Namespace:
Akka.Persistence
Assembly:
Akka.Persistence (in Akka.Persistence.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax protected void BecomeStacked(
Action configure
)
member BecomeStacked :
configure : Action -> unit
Parameters
- configure
- Type: SystemAction
Configures the new handler by calling the different Command overloads.
See Also