id_effect 0.4.0

Effect<A, E, R> (sync + async), capability DI, pipe — interpreter-style, no bundled executor
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Stratum 2 — **Core Effect**: [`Effect`], [`Thunk`](thunk), [`Result`](result), [`Reader`](reader).
//!
//! The [`effect`] submodule holds [`Effect`](id_effect::Effect), [`BoxFuture`](id_effect::BoxFuture), and
//! [`IntoBind`](id_effect::IntoBind). [`thunk`], [`result`], and [`reader`] are the supporting kernel
//! types and combinators described in `SPEC.md`.

pub mod effect;
pub mod par_bind;
pub mod reader;
pub mod result;
pub mod thunk;

pub use self::effect::{
  BoxFuture, Effect, IntoBind, acquire_release, box_future, fail, from_async, into_bind, pure,
  scope_with, scoped, succeed, unwrap_infallible,
};
pub use self::par_bind::{flatten_or, join_binds2, join_binds3, join_binds4};