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

Method pollUpTo

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

Source from the content-addressed store, hash-verified

110 size(): number
111 poll(): A | MutableList.Empty
112 pollUpTo(n: number): Array<A>
113 unsubscribe(): void
114 }
115

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