Overridden finalizer which will try to stop the actor once this Inbox is no longer referenced.
Overridden finalizer which will try to stop the actor once this Inbox is no longer referenced.
Obtain a reference to the internal actor, which can then for example be registered with the event stream or whatever else you may want to do with an ActorRef.
Receive a single message from the internal receiver
actor.
Receive a single message from the internal receiver
actor. The supplied
timeout is used for cleanup purposes and its precision is subject to the
resolution of the system’s scheduler (usually 100ms, but configurable).
Warning: This method blocks the current thread until a message is received, thus it can introduce dead-locks (directly as well as indirectly by causing starvation of the thread pool). Do not use this method within an actor!
Receive a single message for which the given partial function is defined
and return the transformed result, using the internal receiver
actor.
Receive a single message for which the given partial function is defined
and return the transformed result, using the internal receiver
actor.
The supplied timeout is used for cleanup purposes and its precision is
subject to the resolution of the system’s scheduler (usually 100ms, but
configurable).
Warning: This method blocks the current thread until a message is received, thus it can introduce dead-locks (directly as well as indirectly by causing starvation of the thread pool). Do not use this method within an actor!
Have the internal actor act as the sender of the given message which will be sent to the given target.
Make the inbox’s actor watch the target actor such that reception of the Terminated message can then be awaited.
(inbox: StringAdd).self
(inbox: StringFormat).self
(inbox: ArrowAssoc[ActorDSL.Inbox]).x
(Since version 2.10.0) Use leftOfArrow
instead
(inbox: Ensuring[ActorDSL.Inbox]).x
(Since version 2.10.0) Use resultOfEnsuring
instead