tiny_future
Welcome to tiny_future
🎉
This library provides a simple, Condvar
based future with automatic cancellation on drop.
Example
use ;
// Create futures
let = ;
// Run something in a separate task
spawn;
// Wait unil the result is available
let result = getter.wait.expect;
assert_eq!;