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

Method subscribe

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

Source from the content-addressed store, hash-verified

1966 }
1967
1968 subscribe(): PubSub.BackingSubscription<A> {
1969 this.subscriberCount += 1
1970 return new BoundedPubSubSingleSubscription(this, this.publisherIndex, false)
1971 }
1972}
1973
1974class BoundedPubSubSingleSubscription<in out A> implements PubSub.BackingSubscription<A> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected