recoder-code
Version:
🚀 AI-powered development platform - Chat with 32+ models, build projects, automate workflows. Free models included!
6 lines (5 loc) • 333 B
TypeScript
export declare class ExceptionsZone {
private static readonly exceptionHandler;
static run(callback: () => void, teardown: ((err: any) => void) | undefined, autoFlushLogs: boolean): void;
static asyncRun(callback: () => Promise<void>, teardown: ((err: any) => void) | undefined, autoFlushLogs: boolean): Promise<void>;
}