abortable

Function abortable 

Source
pub fn abortable<T>(future: T) -> AbortHandle
where T: Future + Send + 'static, T::Output: Send + 'static,
Expand description

Spawn abortable thread