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

Function end

repos/effect/packages/effect/src/Channel.ts:834–834  ·  view source on GitHub ↗
(value: A)

Source from the content-addressed store, hash-verified

832): Channel<Arr.NonEmptyReadonlyArray<A>, never, L> => fromIteratorArray(() => iterable[Symbol.iterator](), chunkSize)
833
834/**
835 * Creates a `Channel` that emits a single value and then ends.
836 *
837 * **Example** (Creating channels that succeed)

Callers 1

Channel.tsFile · 0.70

Calls 3

doneMethod · 0.80
fromPullFunction · 0.70
succeedMethod · 0.45

Tested by

no test coverage detected