MCPcopy Create free account
hub / github.com/Effect-TS/effect / fromIterableEffect

Function fromIterableEffect

packages/effect/src/Stream.ts:1098–1099  ·  view source on GitHub ↗
(iterable: Effect.Effect<Iterable<A>, E, R>)

Source from the content-addressed store, hash-verified

1096 * @since 2.0.0
1097 */
1098export const fromIterableEffect = <A, E, R>(iterable: Effect.Effect<Iterable<A>, E, R>): Stream<A, E, R> =>
1099 unwrap(Effect.map(iterable, fromIterable))
1100
1101/**
1102 * Creates a stream by repeatedly running an effect that yields an iterable of values.

Callers

nothing calls this directly

Calls 2

unwrapFunction · 0.70
mapMethod · 0.45

Tested by

no test coverage detected