MCPcopy Create free account
hub / github.com/effect-app/libs / fromIterableArray

Function fromIterableArray

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

Source from the content-addressed store, hash-verified

795 * import { Channel, Effect } from "effect"
796 *
797 * const set = new Set([1, 2, 3])
798 * const channel = Channel.fromIterable(set)
799 * Effect.runSync(Channel.runCollect(channel)) // => [1, 2, 3]
800 * ```
801 *
802 * @category constructors
803 * @since 4.0.0

Callers

nothing calls this directly

Calls 1

fromIteratorArrayFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…