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

Function fromArrayEffect

packages/effect/src/Stream.ts:1178–1180  ·  view source on GitHub ↗
(
  effect: Effect.Effect<ReadonlyArray<A>, E, R>
)

Source from the content-addressed store, hash-verified

1176 * @since 4.0.0
1177 */
1178export const fromArrayEffect = <A, E, R>(
1179 effect: Effect.Effect<ReadonlyArray<A>, E, R>
1180): Stream<A, Pull.ExcludeDone<E>, R> => unwrap(Effect.map(effect, fromArray)) as any
1181
1182/**
1183 * Creates a stream from an arbitrary number of arrays.

Callers

nothing calls this directly

Calls 2

unwrapFunction · 0.70
mapMethod · 0.45

Tested by

no test coverage detected