An open API service indexing awesome lists of open source software.

https://github.com/raftario/wae

An async executor based on the Win32 thread pool API
https://github.com/raftario/wae

async executor threadpool win32 windows

Last synced: 11 months ago
JSON representation

An async executor based on the Win32 thread pool API

Awesome Lists containing this project

README

          

# wae

An async executor based on the Win32 thread pool API

```rust
use futures::channel::oneshot;

#[wae::main]
async fn main() {
let (tx, rx) = oneshot::channel();

let hello = wae::spawn(async move {
let msg = rx.await.unwrap();
println!("{}", msg);
});

tx.send("Hello from wae !").unwrap();
hello.await;
}
```