# Executor: Async-Await in Web Assembly
```toml
[dependencies]
<<<<<<< HEAD
executor = "0.0.5"
=======
executor = "0.0.4"
>>>>>>> 28698a2acc08a4dc59772dca60d7c355841b01ac
```
## Example
```rust
use executor::Executor;
pub fn main() -> () {
Executor::spawn(async {
console_log("Hello");
window_set_timeout(1000).await;
console_log("World");
window_set_timeout(1000).await;
console_log("!");
});
}
```
## Features
- [x] #![no_std]
- [x] handle more than one spawn to parallelize work
- [x] simple enough to learn from!
# License
This project is licensed under either of
* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or
http://www.apache.org/licenses/LICENSE-2.0)
* MIT license ([LICENSE-MIT](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.