Skip to content
Myr

ipc-echo-item.js

This file

Path

test/fixtures/ipc-echo-item.js

5 lines · 149 bytes · JavaScript

Last changed by

Add promise-based IPC (#1059)ehmickybefore adoptionacc2b68

History of this file

Take it

Add promise-based IPC (#1059)ehmickybefore adoptionacc2b68

lines 1–5why, one step back
1#!/usr/bin/env node
2import {sendMessage, getOneMessage} from '../../index.js';34const [message] = await getOneMessage();5await sendMessage(message);