Click or drag to resize
Akka.NETIActorDsl.BecomeStacked 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 UnbecomeStacked()
Remarks
Please note, that in order to not leak memory, make sure every call to BecomeStacked(Action< Object, 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
)

Parameters

handler
Type: System.Action<Object, IActorContext>
TBD
See Also