Skip to content

createThingStore

createThingStore<TState>(initialState, options?): Promise<ThingAdapter<TState>>

Defined in: index.ts:144

Async wrapper retained for back-compat with consumers that awaited the old dynamic-import based factory. Resolves immediately now.

Type ParameterDefault type
TStateany
ParameterType
initialStateTState
options?ThingAdapterOptions

Promise<ThingAdapter<TState>>