MCPcopy Create free account
hub / github.com/Snowflyt/tinyeffect / iterate

Function iterate

test/README.example.spec.ts:524–524  ·  view source on GitHub ↗
(value: T)

Source from the content-addressed store, hash-verified

522 {
523 type Iterate<T> = Effect<"iterate", [value: T], void>;
524 const iterate = <T>(value: T) => effect("iterate")<[value: T], void>(value);
525
526 const iterateOver = <T>(iterable: Iterable<T>): Effected<Iterate<T>, void> =>
527 effected(function* () {

Callers 1

iterateOverFunction · 0.70

Calls 1

effectFunction · 0.90

Tested by

no test coverage detected