AdaptableLoadStateFunction
Function that retrieves Adaptable state from storage or external source. Called during initialization to hydrate the application state.
The result is merged with AdaptableOptions.initialState before being passed to applyState(), so it may be partial (only the sections which were persisted) or empty / nullish (nothing was persisted yet).
This is the place to undo any custom storage format applied in persistState().
TypeScript
export interfaceCalls
TypeScript
(config: AdaptableStateFunctionConfig): Promise<Partial<AdaptablePersistentState> | null | void>;Parameters
| Parameter | Type |
|---|---|
| config | AdaptableStateFunctionConfig |
Returns
Promise<Partial<AdaptablePersistentState> | null | void>