async-runtime 0.3.0

A priority-aware native async runtime for the smol ecosystem with host-driven local domains
Documentation
1
2
3
4
5
6
7
8
9
use async_runtime::LocalDomain;
use std::rc::Rc;

fn main() {
    let local = LocalDomain::new();
    let spawner = local.spawner();
    let value = Rc::new(());
    let _ = spawner.dispatch_future(async move { drop(value) });
}