ipc-send-echo-wait.js
This file
Path
test/fixtures/ipc-send-echo-wait.js
7 lines · 218 bytes · JavaScript
Last changed by
Add `strict` option to `sendMessage()` (#1098)ehmickybefore adoptione085b10
History of this fileTake it
12345678#!/usr/bin/env nodeimport {setTimeout} from 'node:timers/promises';import {sendMessage, getOneMessage} from '../../index.js';
await sendMessage('.');await setTimeout(1e3);await sendMessage(await getOneMessage());