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

Function fromArrayEffect

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

Source from the content-addressed store, hash-verified

1071 * @since 4.0.0
1072 */
1073export const fromArrayEffect = <A, E, R>(
1074 effect: Effect.Effect<ReadonlyArray<A>, E, R>
1075): Stream<A, Pull.ExcludeDone<E>, R> => unwrap(Effect.map(effect, fromArray)) as any
1076
1077/**
1078 * 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