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

Method asPromise

packages/core/injector/settlement-signal.ts:39–41  ·  view source on GitHub ↗

* Returns a promise that will be resolved when `complete` or `error` is called. * @returns Promise that will be resolved when `complete` or `error` is called.

()

Source from the content-addressed store, hash-verified

37 * @returns Promise that will be resolved when `complete` or `error` is called.
38 */
39 public asPromise() {
40 return this.settledPromise;
41 }
42
43 /**
44 * Inserts a wrapper id that the host of this signal depends on.

Callers 1

applySettlementSignalMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected