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

Function fromArrays

packages/effect/src/Stream.ts:1097–1099  ·  view source on GitHub ↗
(
  ...arrays: Arr
)

Source from the content-addressed store, hash-verified

1095 * @since 4.0.0
1096 */
1097export const fromArrays = <Arr extends ReadonlyArray<ReadonlyArray<any>>>(
1098 ...arrays: Arr
1099): Stream<Arr[number][number]> => fromChannel(Channel.fromArray(Arr.filter(arrays, Arr.isReadonlyArrayNonEmpty)))
1100
1101/**
1102 * Creates a stream that pulls values from a `Queue.Dequeue`.

Callers

nothing calls this directly

Calls 2

filterMethod · 0.80
fromChannelFunction · 0.70

Tested by

no test coverage detected