Interface: RefCountedAsyncSubscription
Defined in: src/stores/utils/refCountedAsyncSubscription.ts:65
A ref-counted subscription wrapper for async setup.
Propertiesโ
getRefCountโ
getRefCount: () => number;
Defined in: src/stores/utils/refCountedAsyncSubscription.ts:69
Current subscriber count.
Returnsโ
number
subscribeโ
subscribe: () => () => void;
Defined in: src/stores/utils/refCountedAsyncSubscription.ts:77
Increments the ref count and ensures the underlying subscription is started.
Returnsโ
A synchronous unsubscribe function.
() => void