Skip to content
Myr

ipc-send-print.js

This file

Path

test/fixtures/ipc-send-print.js

10 lines · 251 bytes · JavaScript

Last changed by

Improve `buffer: false` option with IPC (#1094)ehmickybefore adoptiond8bdaf0

History of this file

Take it

Add more IPC-related tests (#1061)ehmickybefore adoption55a33c2

lines 1–9why, one step back
1#!/usr/bin/env node
2import process from 'node:process';3import {sendMessage, getOneMessage} from '../../index.js';4import {foobarString} from '../helpers/input.js';56await sendMessage(foobarString);78process.stdout.write('.');9

Improve `buffer: false` option with IPC (#1094)ehmickybefore adoptiond8bdaf0

line 10why, one step back
10await getOneMessage();