Beispiel #1
0
        public async Task <IUpdateRetriesResponse> Send(TimeSpan?timeout = null)
        {
            var asyncReply = client.UpdateJobRetriesAsync(request, deadline: timeout?.FromUtcNow());
            await asyncReply.ResponseAsync;

            return(new UpdateRetriesResponse());
        }
        public async Task <IUpdateRetriesResponse> Send(TimeSpan?timeout = null, CancellationToken token = default)
        {
            var asyncReply = client.UpdateJobRetriesAsync(request, deadline: timeout?.FromUtcNow(), cancellationToken: token);
            await asyncReply.ResponseAsync;

            return(new UpdateRetriesResponse());
        }
        public async Task <IUpdateRetriesResponse> Send()
        {
            var asyncReply = client.UpdateJobRetriesAsync(request);
            await asyncReply.ResponseAsync;

            return(new UpdateRetriesResponse());
        }