ipc-send-echo-strict.js
This file
Path
test/fixtures/ipc-send-echo-strict.js
7 lines · 233 bytes · JavaScript
Last changed by
Add `strict` option to `sendMessage()` (#1098)ehmickybefore adoptione085b10
History of this fileTake it
Add `strict` option to `sendMessage()` (#1098)ehmickybefore adoptione085b10
lines 1–7why, one step back1#!/usr/bin/env node2import {setTimeout} from 'node:timers/promises';3import {sendMessage, getOneMessage} from '../../index.js';45await sendMessage('.', {strict: true});6await setTimeout(10);7await sendMessage(await getOneMessage());