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/QueueStrategyOptions.md
QueueStrategyOptions
Defined in: packages/db/src/strategies/types.ts:57
Options for queue strategy Processes all executions in order (FIFO/LIFO)
Properties#
addItemsTo?#
ts
optional addItemsTo: "front" | "back";Defined in: packages/db/src/strategies/types.ts:63
Where to add new items in the queue
getItemsFrom?#
ts
optional getItemsFrom: "front" | "back";Defined in: packages/db/src/strategies/types.ts:65
Where to get items from when processing
maxSize?#
ts
optional maxSize: number;Defined in: packages/db/src/strategies/types.ts:61
Maximum waiting items. Overflow rejects its transaction; 0 rejects every mutation.
wait?#
ts
optional wait: number;Defined in: packages/db/src/strategies/types.ts:59
Wait time between processing queue items (milliseconds)