package
Version:
v0.0.0-...-2f7b494
Opens a new window with list of versions in this module.
Published: Jun 19, 2023
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Actor is the bare minimum interface for an Actor
Address is the address of an Actor. This is a location-independent
interface that allows a client of an Actor to deliver a Message to it
Arg is an argument to the instantiation of a new Actor
Context allows an Actor to contextually interact with the Actor System
type Factory interface {
New(...Arg) Actor
}
Factory is responsible for instantiating new Actors based on any
provided set of Arg
Message is the base level message passed around by the Actor System
type Receiver interface {
Receive() <-chan Message
}
Receiver is a type that is capable of receiving a Message via a channel
type Sender interface {
Send() chan<- Message
}
Sender is a type that is capable of sending a Message via a channel
Singleton is an Actor that implements Factory in such a way that it
will return itself whenever New is invoked
New allows a Singleton to act as a Factory of itself. Args are ignored
Spawner is a type that is capable of contextually Spawning a new Actor
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.