pub fn stop_current_thread() -> Task<bool> ⓘExpand description
Stops the worker this task runs on, as stop_thread stops one: false
on a thread that is not a worker of its runtime, or when only the
minimum runs.
pub fn stop_current_thread() -> Task<bool> ⓘStops the worker this task runs on, as stop_thread stops one: false
on a thread that is not a worker of its runtime, or when only the
minimum runs.