コード例 #1
0
        public async Task <IDeployResponse> Send(TimeSpan?timeout = null)
        {
            var asyncReply = gatewayClient.DeployProcessAsync(request, deadline: timeout?.FromUtcNow());
            var response   = await asyncReply.ResponseAsync;

            return(new DeployResponse(response));
        }
コード例 #2
0
        public async Task <IDeployResponse> Send(TimeSpan?timeout = null, CancellationToken token = default)
        {
            var asyncReply = gatewayClient.DeployProcessAsync(request, deadline: timeout?.FromUtcNow(), cancellationToken: token);
            var response   = await asyncReply.ResponseAsync;

            return(new DeployResponse(response));
        }