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