Skip to content
Myr

ipc-send-echo-wait.js

This file

Path

test/fixtures/ipc-send-echo-wait.js

7 lines · 218 bytes · JavaScript

Last changed by

Add `strict` option to `sendMessage()` (#1098)ehmickybefore adoptione085b10

History of this file

Take it

Add `strict` option to `sendMessage()` (#1098)ehmickybefore adoptione085b10

lines 1–7why, one step back
1#!/usr/bin/env node
2import {setTimeout} from 'node:timers/promises';3import {sendMessage, getOneMessage} from '../../index.js';45await sendMessage('.');6await setTimeout(1e3);7await sendMessage(await getOneMessage());