EmberAsyncBatcherOptions
Defined in: packages/ember-pacer/src/async-batcher/useAsyncBatcher.ts:18
Options for useAsyncBatcher, including owner cleanup.
Extends
AsyncBatcherOptions<TValue>
Type Parameters
TValue
TValue
TSelected
TSelected = {
}
Properties
onUnmount?
optional onUnmount?: (instance) => void;Defined in: packages/ember-pacer/src/async-batcher/useAsyncBatcher.ts:23
Replaces default cleanup. Use this to flush, cancel, or stop pending work.
Parameters
instance
EmberAsyncBatcher<TValue, TSelected>
Returns
void