Version: dev

cancel

Stable function · Prefetch and windows

Tier: stable · Kind: function · Topic: Prefetch and windows

PythonJuliaRust
not exportedcancel!not exported

Python

Python does not export this function.

Julia

cancel!(g::PrefetchGroup; wait)
cancel!(g::PrefetchGroup; wait = false) -> g

Drop all pending work at once (spec/prefetch.md §3.8). A decode already running — possibly inside a C library — runs to completion and its result is discarded; with wait = true this returns only after those decodes finish. The group is reusable: call [start!] to declare a new order. take! before then is an error.

Source

Rust

Rust does not export this function.