Pacer Docs
API Reference
Debouncer API Reference
Throttler API Reference
Rate Limiter API Reference
Queue API Reference
AI/LLM: This documentation page is available in plain markdown format at/pacer/latest/docs/framework/vue/reference/interfaces/VueBatcherOptions.md
Batcher API Reference
VueBatcherOptions
Defined in: batcher/useBatcher.ts:10
Options for useBatcher, including owner cleanup.
Extends#
- BatcherOptions<TValue>
Type Parameters#
TValue#
TValue
TSelected#
TSelected = { }
Properties#
onUnmount?#
ts
optional onUnmount?: (instance) => void;Defined in: batcher/useBatcher.ts:15
Replaces default cleanup. Use this to flush, cancel, or stop pending work.
Parameters#
instance#
VueBatcher<TValue, TSelected>
Returns#
void