A store handle with a known state shape.
Returned by each client's own store factory so that internal code gets full typing on getState() and dispatch(). Assignable to SdkStore for hand-off to another client.
getState()
dispatch()
Readonly
dispatch keeps RTK's thunk typing so clients can await the result of endpoint.initiate(...) exactly as they would on a store they built themselves.
dispatch
endpoint.initiate(...)
A store handle with a known state shape.
Returned by each client's own store factory so that internal code gets full typing on
getState()anddispatch(). Assignable to SdkStore for hand-off to another client.