Crates.io | async-slot |
lib.rs | async-slot |
version | 0.1.0 |
source | src |
created_at | 2017-10-25 20:36:51.782511 |
updated_at | 2017-10-25 20:36:51.782511 |
description | An asynchronous (futures-based) channel that only preserves last value sent |
homepage | https://github.com/tailhook/async-slot |
repository | |
max_upload_size | |
id | 36922 |
size | 44,551 |
Documentation | Github | Crate
An unbounded channel that only stores last value sent made for futures.
Features:
poll_cancel
and is_canceled
swap
method.Sync
, so if multi-producer is desired, Sender
can be wrapped
into an Arc
/Rc
and swap
method is used to update value.Licensed under either of
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.