A function that returns true when an interval has elapsed
import { hasElapsed } from "https://unpkg.com/ixfx/dist/flow.js"const oneSecond = hasElapsed(1000);// Keep calling to check if time has elapsed.// Will return _true_ when it hasoneSecond(); Copy
import { hasElapsed } from "https://unpkg.com/ixfx/dist/flow.js"const oneSecond = hasElapsed(1000);// Keep calling to check if time has elapsed.// Will return _true_ when it hasoneSecond();
A function that returns true when an interval has elapsed