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

Method complete

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

* Resolves the promise returned by `asPromise`.

()

Source from the content-addressed store, hash-verified

19 * Resolves the promise returned by `asPromise`.
20 */
21 public complete() {
22 this.completed = true;
23 this.settleFn();
24 }
25
26 /**
27 * Rejects the promise returned by `asPromise` with the given error.

Callers 5

loadInstanceMethod · 0.45
callbackMethod · 0.45
httpAdapterMethod · 0.45
listeningMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected