ipc-iterate-break.js
This file
Path
test/fixtures/ipc-iterate-break.js
11 lines · 292 bytes · JavaScript
Last changed by
Debounce `message` events (#1087)ehmickybefore adoptione8bab97
History of this fileTake it
Add more IPC-related tests (#1083)ehmickybefore adoptionc09bb18
lines 1–4why, one step back1#!/usr/bin/env node2import {sendMessage, getEachMessage} from '../../index.js';3import {foobarString} from '../helpers/input.js';4Debounce `message` events (#1087)ehmickybefore adoptione8bab97
line 5why, one step back5const iterable = getEachMessage();Add more IPC-related tests (#1083)ehmickybefore adoptionc09bb18
lines 6–8why, one step back6await sendMessage(foobarString);78// eslint-disable-next-line no-unreachable-loopDebounce `message` events (#1087)ehmickybefore adoptione8bab97
line 9why, one step back9for await (const _ of iterable) {Add more IPC-related tests (#1083)ehmickybefore adoptionc09bb18
lines 10–11why, one step back10 break;11}