public async Task SendRequestWithEmptyResponse <TRequest>(TRequest request, TimeSpan?timeout = null) where TRequest : IRequest { await Connect().ConfigureAwait(false); await _droppableLogicalConnection.SendRequestWithEmptyResponse(request, timeout).ConfigureAwait(false); ScheduleNextPing(); }
public async Task Upsert <TKey>(TKey key, UpdateOperation[] updateOperations) { var updateRequest = new UpsertRequest <TKey>( SpaceId, key, updateOperations); await LogicalConnection.SendRequestWithEmptyResponse(updateRequest).ConfigureAwait(false); }