Function async_global_executor::stop_current_thread
source · pub fn stop_current_thread() -> Task<bool> ⓘ
Expand description
Stop the current executor thread, if we exceed the configured min value
Returns whether the thread has been stopped.
Examples
async_global_executor::stop_current_thread();