ipc-send-repeat.js
This file
Path
test/fixtures/ipc-send-repeat.js
9 lines · 255 bytes · JavaScript
Last changed by
Debounce `message` events (#1087)ehmickybefore adoptione8bab97
History of this fileTake it
12345678910#!/usr/bin/env nodeimport {argv} from 'node:process';import {sendMessage} from '../../index.js';
const count = Number(argv[2]);for (let index = 0; index < count; index += 1) { // eslint-disable-next-line no-await-in-loop await sendMessage(index);}