ApplyUpdatesToStorage(IReadOnlyList<TDelta>, int)
abstract
public abstract Task<bool> ICustomStorageInterface<TState, ApplyUpdatesToStorage(IReadOnlyList<TDelta> updates, int expectedVersion) Applies the given array of deltas to storage, and returns true, if the version in storage matches the expected version. Otherwise, does nothing and returns false. If successful, the version of storage must be increased by the number of deltas.
Parameters
updatesIReadOnlyList<TDelta>expectedVersionint
Returns
true if the deltas were applied, false otherwise
