@eagleoutice/flowr-dev
Version:
Static Dataflow Analyzer and Program Slicer for the R Programming Language
7 lines (6 loc) • 304 B
TypeScript
/**
* Exits after draining stdout/stderr. When Node.js writes to a pipe it does so
* asynchronously; calling process.exit() directly can truncate pending output.
* Falls back to a forced exit after 1 min in case a drain callback never fires.
*/
export declare function exitSafe(code?: number): void;