run_async

Function run_async 

Source
pub fn run_async<H: Store, T, F: Future<Output = T>>(
    store: &'static H,
    task: F,
) -> impl Future<Output = T>
Expand description

Transform a Future to use a chosen global allocator. Threads spawned by this Future will not use the assigned allocator.