MCPcopy Create free account
hub / github.com/Snowflyt/tinyeffect / [Symbol.iterator]

Function [Symbol.iterator]

test/effected.proof.ts:295–299  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

293 // Custom iterable
294 const customIterable = {
295 *[Symbol.iterator]() {
296 yield Effected.of(42);
297 yield Effected.of("foo");
298 yield Effected.of("bar");
299 },
300 };
301 const program2 = Effected.all(customIterable);
302 expect(program2.runSync()).to(equal<(number | string)[]>);

Callers

nothing calls this directly

Calls 1

ofMethod · 0.80

Tested by

no test coverage detected