DB Docs
API Reference
- Core API Reference
- Collection
- createCollection
- liveQueryCollectionOptions
- createLiveQueryCollection
- createOptimisticAction
- createTransaction
- Electric DB Collection
- electricCollectionOptions
- Query DB Collection
- queryCollectionOptions
- RxDB DB Collection
- rxdbCollectionOptions
- PowerSync Collection
- powerSyncCollectionOptions
- createIndexedDB
- indexedDBCollectionOptions
- React Hooks
- useLiveQuery
AI/LLM: This documentation page is available in plain markdown format at/db/latest/docs/reference/type-aliases/SubscriptionEvents.md
SubscriptionEvents
ts
type SubscriptionEvents = object;Defined in: packages/db/src/types.ts:272
All subscription events
Properties#
loadSubset:error#
ts
loadSubset:error: SubscriptionLoadSubsetErrorEvent;Defined in: packages/db/src/types.ts:276
status:change#
ts
status:change: SubscriptionStatusChangeEvent;Defined in: packages/db/src/types.ts:273
status:loadingSubset#
ts
status:loadingSubset: SubscriptionStatusEvent<"loadingSubset">;Defined in: packages/db/src/types.ts:275
status:ready#
ts
status:ready: SubscriptionStatusEvent<"ready">;Defined in: packages/db/src/types.ts:274
unsubscribed#
ts
unsubscribed: SubscriptionUnsubscribedEvent;Defined in: packages/db/src/types.ts:277