Crate lightproc

Source
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§

lightproc
Lightweight process implementation which enables users to create either panic recoverable process or ordinary process.
prelude
The lightproc prelude.
proc_handle
Handle for tasks which don’t need to unwind panics inside the given futures.
proc_stack
Stack abstraction for lightweight processes
proc_state
State layer for lightproc implementation
recoverable_handle
Handle for recoverable process