Skip to content
Myr

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 file

Take it

Debounce `message` events (#1087)ehmickybefore adoptione8bab97

lines 1–9why, one step back
1#!/usr/bin/env node
2import {argv} from 'node:process';3import {sendMessage} from '../../index.js';45const count = Number(argv[2]);6for (let index = 0; index < count; index += 1) {7 // eslint-disable-next-line no-await-in-loop8 await sendMessage(index);9}