callback-future-rs
A simple adapter between callbacks and futures.
Example
Dependencies:
[]
="0.1"
Code:
use CallbackFuture;
use block_on;
use thread;
use Duration;
async
License
This project is licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.