faastjs
Version:
Serverless batch computing made simple.
14 lines (13 loc) • 516 B
TypeScript
export declare function startAsyncTracing(stackTraces?: boolean): void;
interface Trace {
obj: object;
trace: string;
}
export declare function trace(obj: object): Trace | void;
export declare function printAsyncStack(): void;
export declare function detectAsyncLeaks(): object[];
export declare function printHooks(): void;
export declare function stopAsyncTracing(): void;
export declare function onAsyncHook(stackTraces: boolean): () => void;
export declare function clearLeakDetector(): void;
export {};