Function group

Source
pub async fn group<T>(
    name: impl Into<String>,
    fut: impl Future<Output = T>,
) -> T
Expand description

Wrap an asynchronous function call in a group.

Returns the same type as the function itself.