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

Function toTransform

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

Source from the content-addressed store, hash-verified

434 * @since 4.0.0
435 */
436export const toTransform = <OutElem, OutErr, OutDone, InElem, InErr, InDone, Env>(
437 channel: Channel<OutElem, OutErr, OutDone, InElem, InErr, InDone, Env>
438): (
439 upstream: Pull.Pull<InElem, InErr, InDone>,
440 scope: Scope.Scope
441) => Effect.Effect<Pull.Pull<OutElem, OutErr, OutDone>, never, Env> => (channel as any).transform
442
443/**
444 * The default chunk size used by channels for batching operations.

Callers 8

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

Calls

no outgoing calls

Tested by

no test coverage detected