scroll/src/bun/mod.ts

10 lines
181 B
JavaScript

/**
* The main entrypoint when using Bun as the runtime
*/
export * from './terminal_io.ts';
export const onExit = (cb: () => void): void => {
process.on('beforeExit', cb);
};