Module ostree_ext::tokio_util
source · Expand description
Helpers for bridging GLib async/mainloop with Tokio.
Functions§
- Call a faillible future, while monitoring
cancellable
and return an error if cancelled. - Wrapper for
tokio::task::spawn_blocking
which provides agio::Cancellable
that will be triggered on drop. - A wrapper around
spawn_blocking_cancellable
that flattens nested results.