no-killable.js
This file
Path
test/fixtures/no-killable.js
13 lines · 248 bytes · JavaScript
Last changed by
Add promise-based IPC (#1059)ehmickybefore adoptionacc2b68
History of this fileTake it
1234567891011121314#!/usr/bin/env nodeimport process from 'node:process';import {sendMessage} from '../../index.js';
const noop = () => {};
process.on('SIGTERM', noop);process.on('SIGINT', noop);
await sendMessage('');console.log('.');
setTimeout(noop, 1e8);