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

Method pollUpTo

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

Source from the content-addressed store, hash-verified

117 size(): number
118 poll(): A | MutableList.Empty
119 pollUpTo(n: number): Array<A>
120 unsubscribe(): void
121 }
122

Callers 3

PubSub.test.tsFile · 0.65
takeAllFunction · 0.65
PubSub.tsFile · 0.65

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