effect-io-ai

Package: effect
Module: PubSub

PubSub.PubSub.Subscribers

Tracks the pollers currently waiting on each backing subscription.

Details

This type is part of the low-level PubSub.Strategy contract. Most application code should use subscribe, take, and the other PubSub operations instead of manipulating subscriber maps directly.

Signature

type Subscribers<A> = Map<
    BackingSubscription<A>,
    Set<MutableList.MutableList<Deferred.Deferred<A>>>
  >

Source

Since v4.0.0