Function async_global_executor::stop_thread

source ·
pub fn stop_thread() -> Task<bool> 
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();