dropbear-futurequeue
A helper queue for polling futures in single threaded systems such as in winit.
Example
// create new queue
let queue = new;
// create a new handle to keep for reference
let handle = queue.push;
// check initial status
assert!;
// execute the futures
queue.poll;
// wait for the task to do its job (this can be simulated with an update loop)
sleep.await;
// check the result
if let Some = queue.