Create a ReadableStream that emits values at specified intervals
The interval in milliseconds between emissions
A ReadableStream that emits incrementing numbers at the specified interval
const stream = interval(1000); // Emits 0, 1, 2, ... every second Copy
const stream = interval(1000); // Emits 0, 1, 2, ... every second
Create a ReadableStream that emits values at specified intervals