UNPKG

teneturiste

Version:

Execute code when the js-process exits. On all javascript-environments

10 lines (8 loc) 225 B
type AddReturn = { remove: () => void; run: () => any; }; export function add(fn: () => void): AddReturn; export function runAll(): Promise<any>; export function removeAll(): void; export function getSize(): number;