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

Function capacity

packages/effect/src/PubSub.ts:566–566  ·  view source on GitHub ↗
(self: PubSub<A>)

Source from the content-addressed store, hash-verified

564 * @since 2.0.0
565 */
566export const capacity = <A>(self: PubSub<A>): number => self.pubsub.capacity
567
568/**
569 * Returns the current number of messages retained by the `PubSub` for active

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected