Sends msg
to this reactor (asynchronous).
Sends msg
to this reactor (asynchronous).
the message to send
Continues with the execution of the closure registered as
continuation following andThen
.
Continues with the execution of the closure registered as
continuation following andThen
. Continues with the execution
of the next loop iteration when invoked inside the body of loop
or loopWhile
.
This partial function is applied to exceptions that propagate out of this reactor's body.
This partial function is applied to exceptions that propagate out of this reactor's body.
Forwards msg
to this reactor (asynchronous).
Forwards msg
to this reactor (asynchronous).
the message to forward
Returns the execution state of this reactor.
Returns the execution state of this reactor.
the execution state
Repeatedly executes body
.
Repeatedly executes body
.
the block to be executed
Repeatedly executes body
while the condition cond
is true
.
Repeatedly executes body
while the condition cond
is true
.
the condition to test
the block to be executed
Enables the composition of suspendable closures using andThen
,
loop
, loopWhile
, etc.
Enables the composition of suspendable closures using andThen
,
loop
, loopWhile
, etc.
Receives a message from this reactor's mailbox.
Receives a message from this reactor's mailbox.
This method never returns. Therefore, the rest of the computation has to be contained in the actions of the partial function.
a partial function with message patterns and actions
Returns the Actor
that is receiving from this reactor.
Returns the Actor
that is receiving from this reactor.
Restarts this reactor.
Restarts this reactor.
if the reactor is not in state Actor.State.Terminated
Sends msg
to this reactor (asynchronous) supplying
explicit reply destination.
Sends msg
to this reactor (asynchronous) supplying
explicit reply destination.
the message to send
the reply destination
Starts this reactor.
Starts this reactor. This method is idempotent.
Super trait of all actor traits.
(Since version 2.11.0) Use the akka.actor package instead. For migration from the scala.actors package refer to the Actors Migration Guide.