Function
step
({ count = 1, time = 16.667 } = {})
Source from the content-addressed store, hash-verified
| 13 | requests.delete(id) |
| 14 | }, |
| 15 | step({ count = 1, time = 16.667 } = {}) { |
| 16 | for (let i = 0; i < count; i++) { |
| 17 | const current = Array.from(requests.values()) |
| 18 | requests.clear() |
| 19 | |
| 20 | now += time |
| 21 | current.forEach(callback => callback(now)) |
| 22 | } |
| 23 | }, |
| 24 | flush() { |
| 25 | while (requests.size) { |
| 26 | this.step() |
Callers
nothing calls this directly
Tested by
no test coverage detected
Used in the wild real call sites across dependent graphs
searching dependent graphs…