Module cros_async::blocking::cancellable_pool
source · Expand description
Provides an async blocking pool whose tasks can be cancelled.
Structs§
Enums§
Constants§
Statics§
- EXECUTOR 🔒Global executor.
Functions§
- Spawn a task to run in the
CancellableBlockingPool
static executor. - Marks all the queued and in-flight tasks as cancelled. Any tasks queued after
disarm
ing will be cancelled. Doesn’t not wait for all the tasks to get cancelled.