create_tracked

Function create_tracked 

Source
pub fn create_tracked<F>(future: F) -> TrackedFuture<F> 
where F: Future,
Expand description

Create a tracked future wrapper

Wraps the provided future in a TrackedFuture that automatically attributes memory allocations to the task.

Note: Use with your preferred async runtime (tokio, async-std, etc.)