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
The walk stopped after 200 commits: lines older than 9f65b86 point at it.
100% test coverage (#1018)ehmickybefore adoption9f65b86
lines 1–2why, one step back1#!/usr/bin/env node2import process from 'node:process';Add promise-based IPC (#1059)ehmickybefore adoptionacc2b68
line 3why, one step back3import {sendMessage} from '../../index.js';100% test coverage (#1018)ehmickybefore adoption9f65b86
lines 4–9why, one step back45const noop = () => {};67process.on('SIGTERM', noop);8process.on('SIGINT', noop);9Add promise-based IPC (#1059)ehmickybefore adoptionacc2b68
line 10why, one step back10await sendMessage('');100% test coverage (#1018)ehmickybefore adoption9f65b86
lines 11–13why, one step back11console.log('.');1213setTimeout(noop, 1e8);