@effect-ts/system
Version:
Effect-TS is a zero dependency set of libraries to write highly productive, purely functional TypeScript at scale.
10 lines (9 loc) • 332 B
JavaScript
import * as SC from "../../../../Schedule/index.mjs";
import * as RepeatValueWith from "./repeatValueWith.mjs";
/**
* A stream that emits Unit values spaced by the specified duration.
*/
export function tick(interval) {
return RepeatValueWith.repeatValueWith(undefined, SC.spaced(interval));
}
//# sourceMappingURL=tick.mjs.map