MCPcopy
hub / github.com/Effect-TS/effect / timeout

Function timeout

packages/effect/src/internal/stream.ts:288–289  ·  view source on GitHub ↗
(lastB: Option.Option<B>)

Source from the content-addressed store, hash-verified

286 channel.unwrap
287 )
288 const timeout = (lastB: Option.Option<B>): Effect.Effect<C, Option.Option<never>, R2 | R3> =>
289 scheduleDriver.next(lastB)
290 const scheduledAggregator = (
291 sinkFiber: Fiber.RuntimeFiber<readonly [Chunk.Chunk<Chunk.Chunk<A | A2>>, B], E | E2>,
292 scheduleFiber: Fiber.RuntimeFiber<C, Option.Option<never>>,

Callers 2

handleSideFunction · 0.85
stream.tsFile · 0.85

Calls 1

nextMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…