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