MCPcopy Index your code
hub / github.com/tensorflow/tfjs / checkPromises

Function checkPromises

tfjs-core/src/io/progress.ts:50–54  ·  view source on GitHub ↗
(promises: Array<Promise<T>>)

Source from the content-addressed store, hash-verified

48 };
49
50 function checkPromises(promises: Array<Promise<T>>): void {
51 assert(
52 promises != null && Array.isArray(promises) && promises.length > 0,
53 () => 'promises must be a none empty array');
54 }
55
56 function checkFraction(startFraction: number, endFraction: number): void {
57 assert(

Callers 1

monitorPromisesProgressFunction · 0.85

Calls 1

assertFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…