MCPcopy Index your code
hub / github.com/Effect-TS/effect / gen

Function gen

packages/effect/src/internal/core.ts:1419–1422  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1417
1418/* @internal */
1419export const gen: typeof Effect.gen = function() {
1420 const f = arguments.length === 1 ? arguments[0] : arguments[1].bind(arguments[0])
1421 return fromIterator(() => f(pipe))
1422}
1423
1424/** @internal */
1425export const fnUntraced: Effect.fn.Untraced = (body: Function, ...pipeables: Array<any>) =>

Callers

nothing calls this directly

Calls 2

fromIteratorFunction · 0.85
fFunction · 0.50

Tested by

no test coverage detected