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

Method subscribe

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

Source from the content-addressed store, hash-verified

1594 }
1595
1596 subscribe(): PubSub.BackingSubscription<A> {
1597 this.subscriberCount += 1
1598 return new BoundedPubSubArbSubscription(this, this.publisherIndex, false)
1599 }
1600}
1601
1602class BoundedPubSubArbSubscription<in out A> implements PubSub.BackingSubscription<A> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected