MCPcopy
hub / github.com/nestjs/nest / wait

Method wait

packages/core/helpers/barrier.ts:36–38  ·  view source on GitHub ↗

* Wait for the barrier to be resolved. * * @returns A promise that resolves when the barrier is resolved.

()

Source from the content-addressed store, hash-verified

34 * @returns A promise that resolves when the barrier is resolved.
35 */
36 public async wait(): Promise<void> {
37 return this.promise;
38 }
39
40 /**
41 * Signal that a participant has reached the barrier and wait for the barrier to be resolved.

Callers 2

signalAndWaitMethod · 0.95
barrier.spec.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected