pub unsafe fn run_async_borrowed<H: Store, T, F: Future<Output = T>>(
store: &H,
task: F,
) -> impl Future<Output = T>Expand description
Transform a Future to use a chosen global allocator, with a non 'static lifetime.
ยงSafety
Ensure that objects allocated with the provided store
do not escape the given closure.