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

Function fromIterableEffect

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

Source from the content-addressed store, hash-verified

994 * @since 2.0.0
995 */
996export const fromIterableEffect = <A, E, R>(iterable: Effect.Effect<Iterable<A>, E, R>): Stream<A, E, R> =>
997 unwrap(Effect.map(iterable, fromIterable))
998
999/**
1000 * 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