MCPcopy Index your code
hub / github.com/loopbackio/loopback-next / kill

Method kill

packages/core/src/application.ts:593–596  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

591 const gracePeriod = this._shutdownOptions.gracePeriod;
592 this._signalListener = async (signal: string) => {
593 const kill = () => {
594 this.removeSignalListener();
595 process.kill(process.pid, signal);
596 };
597 debugShutdown(
598 '[%s] Signal %s received for process %d',
599 this.name,

Callers 2

testSignalFunction · 0.80
closeWorkerFunction · 0.80

Calls 1

removeSignalListenerMethod · 0.95

Tested by 1

testSignalFunction · 0.64