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/interfaces/EffectContext.md
EffectContext
Defined in: packages/db/src/query/effect.ts:83
Context passed to effect handlers
Properties#
effectId#
ts
effectId: string;Defined in: packages/db/src/query/effect.ts:85
ID of this effect (auto-generated if not provided)
signal#
ts
signal: AbortSignal;Defined in: packages/db/src/query/effect.ts:87
Aborted when effect.dispose() is called