ipc-send-many.js
This file
Path
test/fixtures/ipc-send-many.js
6 lines · 213 bytes · JavaScript
Last changed by
Debounce `message` events (#1087)ehmickybefore adoptione8bab97
History of this fileTake it
1234567#!/usr/bin/env nodeimport {argv} from 'node:process';import {sendMessage} from '../../index.js';
const count = Number(argv[2]);await Promise.all(Array.from({length: count}, (_, index) => sendMessage(index)));