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

Function fromPull

packages/effect/src/Stream.ts:554–556  ·  view source on GitHub ↗
(
  pull: Effect.Effect<Pull.Pull<Arr.NonEmptyReadonlyArray<A>, E, void, R>, EX, RX>
)

Source from the content-addressed store, hash-verified

552 * @since 2.0.0
553 */
554export const fromPull = <A, E, R, EX, RX>(
555 pull: Effect.Effect<Pull.Pull<Arr.NonEmptyReadonlyArray<A>, E, void, R>, EX, RX>
556): Stream<A, Pull.ExcludeDone<E> | EX, R | RX> => fromChannel(Channel.fromPull(pull))
557
558/**
559 * Derives a stream by transforming its pull effect.

Callers 9

fromEffectDrainFunction · 0.70
fromEffectRepeatFunction · 0.70
fromEffectScheduleFunction · 0.70
tickFunction · 0.70
fromScheduleFunction · 0.70
unfoldFunction · 0.70
paginateFunction · 0.70
rangeFunction · 0.70
Stream.tsFile · 0.70

Calls 1

fromChannelFunction · 0.70

Tested by

no test coverage detected