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

Function toTransform

packages/effect/src/Channel.ts:468–473  ·  view source on GitHub ↗
(
  channel: Channel<OutElem, OutErr, OutDone, InElem, InErr, InDone, Env>
)

Source from the content-addressed store, hash-verified

466 * @since 4.0.0
467 */
468export const toTransform = <OutElem, OutErr, OutDone, InElem, InErr, InDone, Env>(
469 channel: Channel<OutElem, OutErr, OutDone, InElem, InErr, InDone, Env>
470): (
471 upstream: Pull.Pull<InElem, InErr, InDone>,
472 scope: Scope.Scope
473) => Effect.Effect<Pull.Pull<OutElem, OutErr, OutDone>, never, Env> => (channel as any).transform
474
475/**
476 * The default chunk size used by channels for batching operations.

Callers 9

transformPullFunction · 0.85
suspendFunction · 0.85
acquireUseReleaseFunction · 0.85
mapEffectSequentialFunction · 0.85
mapEffectConcurrentFunction · 0.85
Channel.tsFile · 0.85
flatMapSequentialFunction · 0.85
makePullFunction · 0.85
runSideFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected