Crates.io | simple-async-local-executor |
lib.rs | simple-async-local-executor |
version | 0.1.0 |
source | src |
created_at | 2021-04-30 16:24:18.188951 |
updated_at | 2021-04-30 16:24:18.188951 |
description | A single-threaded polling-based executor suitable for use in games, embedded systems or WASM |
homepage | https://github.com/enlightware/simple-async-local-executor |
repository | https://github.com/enlightware/simple-async-local-executor |
max_upload_size | |
id | 391603 |
size | 27,418 |
A single-threaded polling-based executor suitable for use in games, embedded systems or WASM.
This executor can be useful when the number of tasks is small or if a small percentage is blocked.
Being polling-based, in the general case it trades off efficiency for simplicity and does not require any concurrency primitives such as Arc
, etc.
To use this crate, first add this to your Cargo.toml
:
[dependencies]
simple-async-local-executor = "0.1.0"
Then, see the documentation for more details.
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.