Defined in: packages/db/src/strategies/types.ts:73
Queue strategy that processes all executions in order FIFO: { addItemsTo: 'back', getItemsFrom: 'front' } LIFO: { addItemsTo: 'back', getItemsFrom: 'back' }
BaseStrategy<"queue">
_type: "queue";Defined in: packages/db/src/strategies/types.ts:8
Type discriminator for strategy identification
cleanup: () => void;Defined in: packages/db/src/strategies/types.ts:30
Clean up any resources held by the strategy Should be called when the strategy is no longer needed
void
execute: <T>(fn, onAdmit?, onCommit?) => boolean | void | Promise<void>;Defined in: packages/db/src/strategies/types.ts:76
Explicit false rejects the transaction; void preserves custom strategies.
T extends object = Record<string, unknown>
() => Transaction<T>
() => void | Transaction<T>
() => Promise<unknown> | undefined
boolean | void | Promise<void>
optional options: QueueStrategyOptions;Defined in: packages/db/src/strategies/types.ts:74