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

Function f

packages/effect/test/Stream/sequencing.test.ts:87–87  ·  view source on GitHub ↗
(n: number)

Source from the content-addressed store, hash-verified

85 it.effect("flatMap - left identity", () =>
86 Effect.gen(function*() {
87 const f = (n: number) => Stream.succeed(n * 2)
88 const { result1, result2 } = yield* (Effect.all({
89 result1: pipe(Stream.make(1), Stream.flatMap(f), Stream.runCollect),
90 result2: Stream.runCollect(f(1))

Callers 1

sequencing.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected