/// <inheritdoc/> public override async Task <bool> TryUpdateAsync(TRoot item) { var resultTask = Inner.TryUpdateAsync(item); await Task.WhenAll(resultTask, Tap.AddOrUpdateAsync(item)).ConfigureAwait(false); return(resultTask.Result); }
/// <inheritdoc/> public override async Task <bool> TryUpdateAsync(TRoot item) { var success = await Inner.TryUpdateAsync(item).ConfigureAwait(false); if (success) { await Tap.AddOrUpdateAsync(item).ConfigureAwait(false); } return(success); }
/// <inheritdoc/> public override async Task UpdateAsync(TRoot item) { await Task.WhenAll( Inner.UpdateAsync(item), Tap.AddOrUpdateAsync(item)).ConfigureAwait(false); }
/// <inheritdoc/> public override async Task AddOrUpdateAsync(TRoot item) { await Inner.AddOrUpdateAsync(item).ConfigureAwait(false); await Tap.AddOrUpdateAsync(item).ConfigureAwait(false); }