Interface Config<S>
interface Config<S extends BaseObjectEntryStore<any>> {
childDebounce?: number;
dataReducer?: boolean;
defaultData?: ExtractDataType<S>[];
manualUpdate?: boolean;
StoreClass: new (...args: any[]) => S;
}
childDebounce?: number;
dataReducer?: boolean;
defaultData?: ExtractDataType<S>[];
manualUpdate?: boolean;
StoreClass: new (...args: any[]) => S;
}
Type Parameters
- S extends BaseObjectEntryStore<any>
Hierarchy
Index
Properties
Optional
childDebounce
childDebounce?: number
An integer between and including 0 - 1000; a debounce time in milliseconds for child store subscriptions to
invoke ArrayObjectStore.updateSubscribers notifying subscribers to this array store. Default
value: 250
.
Optional
dataReducer
dataReducer?: boolean
When true a DynArrayReducer will be instantiated wrapping store data and accessible from
ArrayObjectStore.dataReducer; default value: false
.
Optional
defaultData
An array of default data objects.
Optional
manualUpdate
manualUpdate?: boolean
When true ArrayObjectStore.updateSubscribers must be invoked with a single boolean parameter for
subscribers to be updated; default value: false
.
StoreClass
The entry store class that is instantiated.
Store type.