pub(crate) fn unowned<T, S>(
task: T,
scheduler: S,
id: Id,
) -> (UnownedTask<S>, JoinHandle<T::Output>)
Expand description
Creates a new task with an associated join handle. This method is used
only when the task is not going to be stored in an OwnedTasks
list.
Currently only blocking tasks use this method.