MCPcopy
hub / github.com/pmndrs/react-spring / Queue

Interface Queue

packages/rafz/src/index.ts:190–194  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

188}
189
190interface Queue<T extends Function = any> {
191 add: (fn: T) => void
192 delete: (fn: T) => boolean
193 flush: (arg?: any) => void
194}
195
196function makeQueue<T extends Function>(): Queue<T> {
197 let next = new Set<T>()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…