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

Method size

packages/effect/src/PubSub.ts:110–110  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

108 export interface BackingSubscription<out A> {
109 isEmpty(): boolean
110 size(): number
111 poll(): A | MutableList.Empty
112 pollUpTo(n: number): Array<A>
113 unsubscribe(): void

Callers

nothing calls this directly

Implementers 4

BoundedPubSubArbSubscriptionpackages/effect/src/PubSub.ts
BoundedPubSubPow2Subscriptionpackages/effect/src/PubSub.ts
BoundedPubSubSingleSubscriptionpackages/effect/src/PubSub.ts
UnboundedPubSubSubscriptionpackages/effect/src/PubSub.ts

Calls

no outgoing calls

Tested by

no test coverage detected