mitchellh / libxev

libxev is a cross-platform, high-performance event loop that provides abstractions for non-blocking IO, timers, events, and more and works on Linux (io_uring or epoll), macOS (kqueue), and Wasm + WASI. Available as both a Zig and C API.
MIT License
2.15k stars 77 forks source link

api: add generic cancelation function to all backends #85

Open thda opened 10 months ago

thda commented 10 months ago

Hi,

thanks for the handy library.

Commit 7b4a0e8 introduced a generic cancelation function to the io_uring backend. For the sake of coherence, is it possible to add it to the other backends ?