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

Function fromIterableArray

packages/effect/src/Channel.ts:898–901  ·  view source on GitHub ↗
(
  iterable: Iterable<A, L>,
  chunkSize = DefaultChunkSize
)

Source from the content-addressed store, hash-verified

896 * @since 4.0.0
897 */
898export const fromIterableArray = <A, L>(
899 iterable: Iterable<A, L>,
900 chunkSize = DefaultChunkSize
901): Channel<Arr.NonEmptyReadonlyArray<A>, never, L> => fromIteratorArray(() => iterable[Symbol.iterator](), chunkSize)
902
903/**
904 * Creates a `Channel` that emits a single value and then ends.

Callers

nothing calls this directly

Calls 1

fromIteratorArrayFunction · 0.85

Tested by

no test coverage detected