Function abort_on_drop

Source
pub fn abort_on_drop<F, T>(future: F) -> (Abortable<F>, AbortOnDropHandle)
where F: PlatformSendFuture<Output = T> + 'static,
Expand description

Constructs a future + AbortOnDropHandle pair.

See AbortOnDropHandle for more details.