MCPcopy
hub / github.com/Effect-TS/effect / poll

Method poll

packages/effect/src/internal/pubsub.ts:39–39  ·  view source on GitHub ↗
(default_: D)

Source from the content-addressed store, hash-verified

37 isEmpty(): boolean
38 size(): number
39 poll<D>(default_: D): A | D
40 pollUpTo(n: number): Chunk.Chunk<A>
41 unsubscribe(): void
42}

Callers 15

trackAccessMethod · 0.65
takeMethod · 0.65
unsafeOfferMethod · 0.65
offerMethod · 0.65
takeMethod · 0.65
pollMethod · 0.65
unsafeOfferMethod · 0.65
queue.tsFile · 0.65

Implementers 4

BoundedPubSubArbSubscriptionpackages/effect/src/internal/pubsub.ts
BoundedPubSubPow2Subscriptionpackages/effect/src/internal/pubsub.ts
BoundedPubSubSingleSubscriptionpackages/effect/src/internal/pubsub.ts
UnboundedPubSubSubscriptionpackages/effect/src/internal/pubsub.ts

Calls

no outgoing calls

Tested by

no test coverage detected