Crate lightproc[][src]

Expand description

LightProc is Lightweight Process abstraction for Rust.

Beneath the implementation:

  • It uses futures with lifecycle callbacks to implement Erlang like processes.
  • Contains basic pid(process id) to identify processes.
  • All panics inside futures are propagated to upper layers.

The naming convention of this crate comes from Erlang’s Lightweight Processes.

Modules

Lightweight process implementation which enables users to create either panic recoverable process or ordinary process.

The lightproc prelude.

Handle for tasks which don’t need to unwind panics inside the given futures.

Stack abstraction for lightweight processes

State layer for lightproc implementation

Handle for recoverable process