MCPcopy Index your code
hub / github.com/react/react / unstable_cancelCallback

Function unstable_cancelCallback

packages/scheduler/src/forks/SchedulerPostTask.js:176–179  ·  view source on GitHub ↗
(node: CallbackNode)

Source from the content-addressed store, hash-verified

174}
175
176export function unstable_cancelCallback(node: CallbackNode) {
177 const controller = node._controller;
178 controller.abort();
179}
180
181export function unstable_runWithPriority<T>(
182 priorityLevel: PriorityLevel,

Callers

nothing calls this directly

Calls 1

abortMethod · 0.65

Tested by

no test coverage detected