Macro stakker::stop [−][src]
macro_rules! stop { ($cx:expr) => { ... }; }
Indicate successful termination of the actor
ⓘ
stop!(cx);
This just calls Cx::stop
. It is included for symmetry with
fail!
.
As soon as the currently-running actor call finishes, the actor
will be terminated. Actor state will be dropped, and any further
calls to this actor will be discarded. The termination status is
passed back to the StopCause
handler provided when the actor
was created.