thunks

Asynchronous composer for Rust.

Crates version Build Status Coverage Status Crates downloads

API

Documentation https://iorust.github.io/thunks/thunks

Rust extern crate thunks; use thunks::Thunk;

pub struct Thunk<T, E>(_)

impl Thunk where T: Send + 'static, E: Send + 'static

fn new(task: F) -> Thunk where F: Fn(Box) + Send + 'static>) + Send + 'static

fn await(&self) -> Result