MCPcopy
hub / github.com/wilsonpage/fastdom / scheduleFlush

Function scheduleFlush

fastdom.js:168–174  ·  view source on GitHub ↗

* Schedules a new read/write * batch if one isn't pending. * * @private

(fastdom)

Source from the content-addressed store, hash-verified

166 * @private
167 */
168function scheduleFlush(fastdom) {
169 if (!fastdom.scheduled) {
170 fastdom.scheduled = true;
171 fastdom.raf(flush.bind(null, fastdom));
172 debug('flush scheduled');
173 }
174}
175
176/**
177 * Runs queued `read` and `write` tasks.

Callers 2

fastdom.jsFile · 0.85
flushFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…