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

Function next

repos/effect/packages/effect/src/Stream.ts:11341–11356  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11339 readonly replay?: number | undefined
11340 readonly shutdownOnEnd?: boolean | undefined
11341 } | {
11342 readonly capacity: number
11343 readonly strategy?: "dropping" | "sliding" | "suspend" | undefined
11344 readonly replay?: number | undefined
11345 readonly shutdownOnEnd?: boolean | undefined
11346 }
11347 ): Effect.Effect<PubSub.PubSub<A>, never, R | Scope.Scope> => Channel.toPubSubArray(self.channel, options)
11348)
11349
11350/**
11351 * Converts a stream to a PubSub of `Take` values for concurrent consumption.
11352 *
11353 * **Details**
11354 *
11355 * `Take` values include the stream's end and failure signals.
11356 *
11357 * **Example** (Converting to a PubSub of takes)
11358 *
11359 * ```ts import.meta.vitest

Callers 1

iterateFunction · 0.70

Calls 3

runPromiseExitFunction · 0.85
runPromiseFunction · 0.70
nextMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…