MCPcopy
hub / github.com/Khan/aphrodite / startBuffering

Function startBuffering

src/inject.js:214–220  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

212};
213
214export const startBuffering = () => {
215 if (isBuffering) {
216 throw new Error(
217 "Cannot buffer while already buffering");
218 }
219 isBuffering = true;
220};
221
222const flushToArray = () => {
223 isBuffering = false;

Callers 3

renderStaticFunction · 0.90
suppressStyleInjectionFunction · 0.90
inject_test.jsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected