MCPcopy Create free account
hub / github.com/UI5/webcomponents / chunkInvalid

Function chunkInvalid

packages/main/test/pages/diffable-html.js:6380–6386  ·  view source on GitHub ↗
(state, chunk)

Source from the content-addressed store, hash-verified

6378 }
6379
6380 function chunkInvalid(state, chunk) {
6381 var er;
6382 if (!_isUint8Array(chunk) && typeof chunk !== 'string' && chunk !== undefined && !state.objectMode) {
6383 er = new TypeError('Invalid non-string/buffer chunk');
6384 }
6385 return er;
6386 }
6387
6388 // if it's past the high water mark, we can push in some more.
6389 // Also, if we have no data yet, we can stand some

Callers 1

readableAddChunkFunction · 0.85

Calls 1

_isUint8ArrayFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…