Function async_global_executor::stop_thread
source · [−]pub fn stop_thread() -> Task<bool>ⓘNotable traits for Task<T>impl<T> Future for Task<T> type Output = T;
Expand description
Stop one of the executor threads, down to configured min value
Returns whether a thread has been stopped.
Examples
async_global_executor::stop_thread();