Skip to content

ICustomStorageInterface<TState, TDelta>.ReadStateFromStorage

ReadStateFromStorage

abstract
public abstract Task<KeyValuePair<int, TState>> ICustomStorageInterface<TState, ReadStateFromStorage()
Reads the current state and version from storage (note that the state object may be mutated by the provider, so it must not be shared).

Returns

the version number and a state object.