#async #futures #oneshot #stop #terminate

stop-handle

Convinient structure to terminate future execution

1 unstable release

0.1.0 Feb 14, 2020

#5 in #oneshot

Download history 226/week @ 2020-12-22 88/week @ 2020-12-29 20/week @ 2021-01-05 226/week @ 2021-01-12 289/week @ 2021-01-19 264/week @ 2021-01-26 162/week @ 2021-02-02 137/week @ 2021-02-09 366/week @ 2021-02-16 125/week @ 2021-02-23 324/week @ 2021-03-02 48/week @ 2021-03-09 37/week @ 2021-03-16 53/week @ 2021-03-23 70/week @ 2021-03-30 30/week @ 2021-04-06

981 downloads per month

MIT license

6KB
119 lines

stop-handle

Crates.io MIT licensed Build Status

Overview

An easy way to request termination of the running future

Usage

Add this to your Cargo.toml:

[dependencies]
stop-handle = "0.1"

See examples folder

Dependencies

~1MB
~16K SLoC