Actors can monitor the lifetime of other actors by sending a MonitorRequest to an address. This will cause the runtime system to send a DownMsg for other if it dies.
Actors send error messages to others by returning an error (see Errors) from a message handler. Similar to exit messages, error messages usually cause the receiving actor to terminate, unless a custom handler was installed. The default handler is used as fallback if request is used without error handler.
An exception has been thrown while processing a message.
Bidirectional monitoring with a strong lifetime coupling is established by calling a LinkRequest to an address. This will cause the runtime to send an ExitMsg if either this or other dies. Per default, actors terminate after receiving an ExitMsg unless the exit reason is exit_reason::normal. This mechanism propagates failure states in an actor system. Linked actors form a sub system in which an error causes all actors to fail collectively.
The timeout triggered.
Check that the context parameter is ref otherwise issue a warning.
Implement an actor.
Write the name of the actor and the message type to the console.
An behavior for an actor when it receive a message of signature.
Timeout for an outstanding request.
Intended to be used in a local scope by a user.
Copyright (c) 2021, Joakim Brännström. All rights reserved.