MCPcopy
hub / github.com/QwikDev/qwik / cleanup

Function cleanup

packages/qwik/src/core/use/use-task.ts:591–593  ·  view source on GitHub ↗
(callback)

Source from the content-addressed store, hash-verified

589 const opts: ResourceCtx<T> = {
590 track,
591 cleanup(callback) {
592 cleanups.push(callback);
593 },
594 cache(policy) {
595 let milliseconds = 0;
596 if (policy === 'immutable') {

Callers 3

index.tsxFile · 0.50
examples.tsxFile · 0.50
qwikifyQrlFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…