n8n/packages/cli/src/WebhookServer.ts
Tomi Turtiainen 3a881be6c2
feat(core): Unify application components shutdown (#8097)
## Summary

Add `ShutdownService` and `OnShutdown` decorator for more unified way to
shutdown different components. Use this new way in the following
components:

- HTTP(S) server
- Pruning service
- Push connection
- License

---------

Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2023-12-22 12:39:58 +02:00

10 lines
191 B
TypeScript

import { Service } from 'typedi';
import { AbstractServer } from '@/AbstractServer';
@Service()
export class WebhookServer extends AbstractServer {
constructor() {
super('webhook');
}
}