Crate beul

source ·
Expand description

Beul - It executes futures.

This crate offers a single function: execute, which will run a single future on the current thread. No fancy executor, no future primitives, just a simple executor. No dependencies, no unsafe rust.

The design is based on the example ThreadWaker from the Wake documentation, which the reentrancy issues resolved by using a Condvar.

Beul is Dutch for executioner.

Usage

beul::execute(async {});

Functions