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();
        }
Пример #2
0
        public async Task Upsert <TKey>(TKey key, UpdateOperation[] updateOperations)
        {
            var updateRequest = new UpsertRequest <TKey>(
                SpaceId,
                key,
                updateOperations);

            await LogicalConnection.SendRequestWithEmptyResponse(updateRequest).ConfigureAwait(false);
        }