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

Method poll

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

Source from the content-addressed store, hash-verified

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

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