1 unstable release
Uses new Rust 2024
new 0.1.0 | Mar 11, 2025 |
---|
#3 in #copied
38KB
553 lines
Smol Cancellation Token
A simple cancellation token implementation for Smol, copied from tokio-util's cancellation token, and replace the waker
with EventListener
to make it cross async runtime compatible.
lib.rs
:
An asynchronously awaitable CancellationToken
.
The token allows to signal a cancellation request to one or more tasks.
Dependencies
~355KB