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

Method close

packages/platform-fastify/adapters/fastify-adapter.ts:542–552  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

540 }
541
542 public async close() {
543 try {
544 return await this.instance.close();
545 } catch (err) {
546 // Check if server is still running
547 if (err.code !== 'ERR_SERVER_NOT_RUNNING') {
548 throw err;
549 }
550 return;
551 }
552 }
553
554 public initHttpServer() {
555 this.httpServer = this.instance.server;

Callers

nothing calls this directly

Calls 1

closeMethod · 0.65

Tested by

no test coverage detected