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

Method setIsTerminated

packages/microservices/nest-microservice.ts:313–315  ·  view source on GitHub ↗

* Sets the flag indicating that the application is terminated. * @param isTerminated Value to set

(isTerminated: boolean)

Source from the content-addressed store, hash-verified

311 * @param isTerminated Value to set
312 */
313 public setIsTerminated(isTerminated: boolean) {
314 this.isTerminated = isTerminated;
315 }
316
317 /**
318 * Sets the flag indicating that the init hook was called.

Callers 3

closeMethod · 0.95
closeApplicationMethod · 0.95
disposeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected