ipc-echo-twice.js
This file
Path
test/fixtures/ipc-echo-twice.js
7 lines · 226 bytes · JavaScript
Last changed by
Debounce `message` events (#1087)ehmickybefore adoptione8bab97
History of this fileTake it
Add promise-based IPC (#1059)ehmickybefore adoptionacc2b68
line 1why, one step back1#!/usr/bin/env nodeDebounce `message` events (#1087)ehmickybefore adoptione8bab97
line 2why, one step back2import {sendMessage, getOneMessage} from '../../index.js';Add promise-based IPC (#1059)ehmickybefore adoptionacc2b68
line 3why, one step back3Add `result.ipc`/`error.ipc` (#1067)ehmickybefore adoption3ab34de
line 4why, one step back4const message = await getOneMessage();Debounce `message` events (#1087)ehmickybefore adoptione8bab97
lines 5–6why, one step back5await sendMessage(message);6const secondMessage = await getOneMessage();Fix `break` statement with `subprocess.getEachMessage()` (#1082)ehmickybefore adoption7143492
line 7why, one step back7await sendMessage(secondMessage);