[][src]Function async_global_executor::stop_thread

pub fn stop_thread() -> Task<bool>

Notable traits for Task<T>

impl<T> Future for Task<T> type Output = T;

Stop one of the executor threads, down to configured min value

Returns whether a thread has been stopped.

Examples

async_global_executor::stop_thread();