ipc-replay.js
This file
Path
test/fixtures/ipc-replay.js
7 lines · 236 bytes · JavaScript
Last changed by
Improve `buffer: false` option with IPC (#1094)ehmickybefore adoptiond8bdaf0
History of this fileTake it
12345678#!/usr/bin/env nodeimport {setTimeout} from 'node:timers/promises';import {sendMessage, getOneMessage} from '../../index.js';
await sendMessage(await getOneMessage());await setTimeout(1e3);await sendMessage(await getOneMessage());