MCPcopy Index your code
hub / github.com/andywer/threads.js / settled

Method settled

src/master/pool.ts:77–77  ·  view source on GitHub ↗

* Returns a promise that resolves once the task queue is emptied. * Failing tasks will not cause the promise to be rejected. * * @param allowResolvingImmediately Set to `true` to resolve immediately if task queue is currently empty.

(allowResolvingImmediately?: boolean)

Source from the content-addressed store, hash-verified

75 * @param allowResolvingImmediately Set to `true` to resolve immediately if task queue is currently empty.
76 */
77 settled(allowResolvingImmediately?: boolean): Promise<Error[]>
78
79 /**
80 * Returns an observable that yields pool events.

Callers 1

pool.test.tsFile · 0.65

Implementers 1

WorkerPoolsrc/master/pool.ts

Calls

no outgoing calls

Tested by

no test coverage detected