MCPcopy
hub / github.com/darkreader/darkreader / add

Function add

src/utils/throttle.ts:56–61  ·  view source on GitHub ↗
(task: Task)

Source from the content-addressed store, hash-verified

54 }
55
56 function add(task: Task) {
57 tasks.push(task);
58 if (!frameId) {
59 frameId = requestAnimationFrame(runTasks);
60 }
61 }
62
63 function cancel() {
64 tasks.splice(0);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected