Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ capacity
Function
capacity
packages/effect/src/internal/pubsub.ts:123–123 ·
view source on GitHub ↗
(self: PubSub.PubSub<A>)
Source
from the content-addressed store, hash-verified
121
122
/** @internal */
123
export
const
capacity = <A>(self: PubSub.PubSub<A>): number => self.capacity()
124
125
/** @internal */
126
export
const
size = <A>(self: PubSub.PubSub<A>): Effect.Effect<number> => self.size
Callers
nothing calls this directly
Calls
1
capacity
Method · 0.65
Tested by
no test coverage detected