ActorRef class
A reference to an actor. The only way to communicate with an actor is to send messages to it using the API of the ActorRef.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
send(
Object? message, {ActorRef? replyTo, String? correlationId}) → Future< void> - Sends a message to the actor referenced by this ActorRef. It is guaranteed, that an actor processes only one message at a time.
-
shutdown(
) → Future< void> - Sends a shutdownMsg to the actor. After the shutdown message was processed, the actor is stopped and its mailbox is cleared. Sending new message to a stopped actor leads to an exception.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited