ipc-send-wait-print.js
This file
Path
test/fixtures/ipc-send-wait-print.js
8 lines · 238 bytes · JavaScript
Last changed by
Debounce `message` events (#1087)ehmickybefore adoptione8bab97
History of this fileTake it
Debounce `message` events (#1087)ehmickybefore adoptione8bab97
lines 1–8why, one step back1#!/usr/bin/env node2import {setTimeout} from 'node:timers/promises';3import {sendMessage} from '../../index.js';4import {foobarString} from '../helpers/input.js';56await sendMessage(foobarString);7await setTimeout(100);8console.log('.');