Crate tokio_async_utils

Source

Structs§

TaskHandle
TaskHandle is simple wrapper around Tokio task::JoinHandle that aborts tasks on Handle drop. The easiest way to obtain TaskHandle is importing TaskExt trait and running to_task_handle() on Tokio task::JoinHandle.
TaskMap
Map of tasks that can store TaskHandles based on any key type.

Traits§

TaskExt

Type Aliases§

TaskSet
TaskSet is simple alias for JoinSet. Because JoinSet already aborts futures on drop I didn’t feel like it’s necessary to modify it.