| IActorDslBecomeStacked Method |
Changes the actor's behavior and replaces the current handler with the specified handler without discarding the current.
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(ActionObject, IActorContext)
is matched with a call to
UnbecomeStacked.
Namespace:
Akka.Actor.Dsl
Assembly:
Akka (in Akka.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax void BecomeStacked(
Action<Object, IActorContext> handler
)
abstract BecomeStacked :
handler : Action<Object, IActorContext> -> unit
Parameters
- handler
- Type: SystemActionObject, IActorContext
TBD
See Also