[](https://codecov.io/gh/jonay2000/blocker)
[](https://docs.rs/blocker)
[](https://crates.io/crates/blocker)
# Blocker!
Blocker blocks. That's what it does, nothing more. Give it an async function and it waits until it's done. Forever.
Works in `#![no_std]` environments as long as alloc is available. Blocker itself does not use any unsafe code.
Enable the `thread_yield` feature to yield the current thread whenever an async function returns `Poll::pending`.
# License
This code is licensed under the [Apache 2.0 license](./LICENSE)