Skip to content
Myr

noop-progressive.js

This file

Path

test/fixtures/noop-progressive.js

12 lines · 304 bytes · JavaScript

Last changed by

Not known.

History of this file

Take it

The walk stopped after 200 commits: lines older than 9f65b86 point at it.

100% test coverage (#1018)ehmickybefore adoption9f65b86

lines 1–12why, one step back
1#!/usr/bin/env node
2import process from 'node:process';3import {setTimeout} from 'node:timers/promises';45const bytes = process.argv[2];6for (const character of bytes) {7 process.stdout.write(character);8 // eslint-disable-next-line no-await-in-loop9 await setTimeout(10);10}1112process.stdout.write('\n');