Module task

Module task 

Source
Expand description

Helpers for working with asynchronous tasks.

Traits§

HandleExt
Helper trait for providing traced spawning when using Handle.
JoinSetExt
Helper trait for providing traced spawning when using JoinSet<T>.

Functions§

get_caller_location_as_string
Gets the caller location as a string, in the form of file:line:column.
spawn_traced
Spawns a new asynchronous task, returning a JoinHandle for it.
spawn_traced_named
Spawns a new named asynchronous task, returning a JoinHandle for it.