Expand description
Implements the ActorSystem
and related types of Maxim.
When the ActorSystem
starts up, a number of Reactors will be spawned that will iterate over
Actor’s inbound messages, processing them asynchronously. Actors will be ran as many times as
they can over a given time slice until they are pending or have no more messages. If the Actor
is Pending, it will be re-queued when the pending future wakes it. If the Actor has no more
messages, it will be returned to the Executor until it has messages again. This process cycles
until the ActorSystem
is shutdown.
The user should refer to test cases and examples as “how-to” guides for using Maxim.
Structs§
- Actor
System - An actor system that contains and manages the actors spawned inside it.
- Actor
System Config - Configuration structure for the Maxim actor system. Note that this configuration implements serde serialize and deserialize to allow users to read the config from any serde supported means.
- Remote
Info - Information for communicating with a remote actor system.
Enums§
- System
Error - Errors produced by the ActorSystem
- System
Msg - An enum containing messages that are sent to actors by the actor system itself and are universal to all actors.
- Wire
Message - A type used for sending messages to other actor systems.