Executor: Async-Await in Web Assembly
[]
= "0.0.3"
Example
use Executor;
Features
- #![no_std]
- handle spawn (i.e. don't spawn beyond your initial entry point)
- handle non self waking futures (i.e futures that immediately return values and JS futures operate asynchronously)
- handle more than one spawn ( needed for callbacks that start async work )
- handle self waking futures (i.e. Since JS is single threaded, self waking futures cause a mutex lock, futures must call some other mechanism to asynchronously re-enter a web assembly module)
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.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in woke by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.