Template base para proyectos SaaS multi-tenant. Estructura inicial: - apps/backend (NestJS API) - apps/frontend (React/Vite) - apps/database (PostgreSQL DDL) - docs/ (Documentación) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
13 lines
589 B
TypeScript
13 lines
589 B
TypeScript
import { type BeforeApplicationShutdown, LoggerService } from '@nestjs/common';
|
|
export declare const TERMINUS_GRACEFUL_SHUTDOWN_TIMEOUT = "TERMINUS_GRACEFUL_SHUTDOWN_TIMEOUT";
|
|
/**
|
|
* Handles Graceful shutdown timeout useful to await
|
|
* for some time before the application shuts down.
|
|
*/
|
|
export declare class GracefulShutdownService implements BeforeApplicationShutdown {
|
|
private readonly logger;
|
|
private readonly gracefulShutdownTimeoutMs;
|
|
constructor(logger: LoggerService, gracefulShutdownTimeoutMs: number);
|
|
beforeApplicationShutdown(signal: string): Promise<void>;
|
|
}
|