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

Method subscribe

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

Source from the content-addressed store, hash-verified

1790 }
1791
1792 subscribe(): PubSub.BackingSubscription<A> {
1793 this.subscriberCount += 1
1794 return new BoundedPubSubPow2Subscription(this, this.publisherIndex, false)
1795 }
1796}
1797
1798class BoundedPubSubPow2Subscription<in out A> implements PubSub.BackingSubscription<A> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected