/otp

📫 Fault tolerant multicore programs with OTP

Primary LanguageRustApache License 2.0Apache-2.0

Gleam OTP

IRC: #gleam-lang on chat.freenode.net CI

A Gleam library for building fault tolerant multi-core programs using the actor model. It is compatible with Erlang's OTP framework.

This library is experimental and will likely have many breaking changes in the future!

Actor hierarchy

This library defines several different types of actor that can be used in Gleam programs.

   Process
      ↓
    Actor
   ↙    ↘
Task    Supervisor

Process

The process is the lowest level building block of OTP, all other actors are built on top of processes either directly or indirectly. Typically this abstraction would be not be used very often in Gleam applications, favour other actor types that provide more functionality.

Actor

TODO

Task

TODO

Supervisor

TODO