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

Method handleSurplus

packages/effect/src/PubSub.ts:163–163  ·  view source on GitHub ↗

* Describes how publishers should signal to subscribers that they are * waiting for space to become available in the `PubSub`.

(
      pubsub: Atomic<A>,
      subscribers: Subscribers<A>,
      elements: Iterable<A>,
      isShutdown: MutableRef.MutableRef<boolean>
    )

Source from the content-addressed store, hash-verified

161 * waiting for space to become available in the `PubSub`.
162 */
163 handleSurplus(
164 pubsub: Atomic<A>,
165 subscribers: Subscribers<A>,
166 elements: Iterable<A>,

Callers 1

PubSub.tsFile · 0.65

Implementers 3

BackPressureStrategypackages/effect/src/PubSub.ts
DroppingStrategypackages/effect/src/PubSub.ts
SlidingStrategypackages/effect/src/PubSub.ts

Calls

no outgoing calls

Tested by

no test coverage detected