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

Method close

packages/microservices/server/server-rmq.ts:108–112  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

106 }
107
108 public async close(): Promise<void> {
109 this.channel && (await this.channel.close());
110 this.server && (await this.server.close());
111 this.pendingEventListeners = [];
112 }
113
114 public async start(
115 callback?: (err?: unknown, ...optionalParams: unknown[]) => void,

Callers 1

startMethod · 0.95

Calls 1

closeMethod · 0.65

Tested by

no test coverage detected