Side futures
This crate provides an ability to send future for execution on the runtime that may be in a different thread. Typical use case is heavily threaded application where there are synchronous callbacks, but some asynchronous tasks also need to be executed.
Example
To get started, add the following to Cargo.toml
.
= "0.1.0"
Typical usage with Tokio runtime:
use task;
async
Typical usage with Actix runtime:
async
Contribution
Feel free to create issues and send pull requests, they are highly appreciated!
License
Zero-Clause BSD