MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / values

Method values

examples/io/streams/modules/streams.js:333–337  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

331 return result;
332 }
333 values(options) {
334 const stream = ReadableStreamBrand.get(this);
335 const preventCancel = Boolean(options?.preventCancel);
336 return createReadableStreamAsyncIterator(stream, preventCancel);
337 }
338 [Symbol.asyncIterator]() {
339 const stream = ReadableStreamBrand.get(this);
340 return createReadableStreamAsyncIterator(stream, false);

Callers 7

traverseMethod · 0.80
filterMethod · 0.80
cmdInfoGlobalsMethod · 0.80
constructorMethod · 0.80
loopFunction · 0.80

Calls 2

getMethod · 0.65

Tested by

no test coverage detected