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

Function flushToArray

src/inject.js:222–227  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

220};
221
222const flushToArray = () => {
223 isBuffering = false;
224 const ret = injectionBuffer;
225 injectionBuffer = [];
226 return ret;
227};
228
229export const flushToString = () => {
230 return flushToArray().join('');

Callers 2

flushToStringFunction · 0.85
flushToStyleTagFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected