12345678910111213141516171819202122232425262728293031323334353637383940 |
- import type { StoreEnhancer } from 'redux';
- export declare const SHOULD_AUTOBATCH = "RTK_autoBatch";
- export declare const prepareAutoBatched: <T>() => (payload: T) => {
- payload: T;
- meta: unknown;
- };
- export declare type AutoBatchOptions = {
- type: 'tick';
- } | {
- type: 'timer';
- timeout: number;
- } | {
- type: 'raf';
- } | {
- type: 'callback';
- queueNotification: (notify: () => void) => void;
- };
- export declare const autoBatchEnhancer: (options?: AutoBatchOptions) => StoreEnhancer;
|