Structs§

  • 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.
  • Map of tasks that can store TaskHandles based on any key type.

Traits§

Type Aliases§

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