- plain processes
- actors and subjects (this post)
- supervised actors (not yet published)
Actors
A gleam actor has no equivalent in Erlang. It is a process
that receives statically typed messages. In erlang,
a gen_server receives dynamically typed messages.
Subjects
Subjects are the statically typed channels over which the messages are sent to an actor. Responses return via their own subjects (they have to, responses to different messages may have different types).