Skip to main content

trigger_abort

Function trigger_abort 

Source
pub fn trigger_abort(abort_id: u32)
Expand description

Fire the cancellation channel for the fetch registered under abort_id. Called on the JS thread when the AbortSignal’s abort event fires (and is idempotent: a second call finds the entry either still present — flag already true — or already removed by resolve_tasklet).