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

Method handleSurplus

packages/effect/src/PubSub.ts:2502–2509  ·  view source on GitHub ↗
(
    _pubsub: PubSub.Atomic<A>,
    _subscribers: PubSub.Subscribers<A>,
    _elements: Iterable<A>,
    _isShutdown: MutableRef.MutableRef<boolean>
  )

Source from the content-addressed store, hash-verified

2500 }
2501
2502 handleSurplus(
2503 _pubsub: PubSub.Atomic<A>,
2504 _subscribers: PubSub.Subscribers<A>,
2505 _elements: Iterable<A>,
2506 _isShutdown: MutableRef.MutableRef<boolean>
2507 ): Effect.Effect<boolean> {
2508 return Effect.succeed(false)
2509 }
2510
2511 onPubSubEmptySpaceUnsafe(
2512 _pubsub: PubSub.Atomic<A>,

Callers

nothing calls this directly

Calls 1

succeedMethod · 0.45

Tested by

no test coverage detected