public virtual async Task SetMany(IsolatedSetManyCommand command, CancellationToken cancellationToken = default) { if (Computed.IsInvalidating()) { return; } var keyChecker = await GetKeyChecker(command.Session, cancellationToken).ConfigureAwait(false); var items = command.Items; var newItems = new (string Key, string Value, Moment? ExpiresAt)[items.Length];
public Task SetMany([FromBody] IsolatedSetManyCommand command, CancellationToken cancellationToken = default) { command.UseDefaultSession(SessionResolver); return(Store.SetMany(command, cancellationToken)); }