예제 #1
0
        public override async Task <Empty> CompleteTaskActivityWorkItem(
            CompleteTaskActivityWorkItemRequest request, ServerCallContext context)
        {
            var workItem = ToDurableTaskWorkItem(request.WorkItem);

            var responseMessage = _options.DataConverter.Deserialize <TaskMessage>(request.ResponseMessage);

            await _orchestrationService.CompleteTaskActivityWorkItemAsync(workItem, responseMessage);

            return(new Empty());
        }
예제 #2
0
 public Task CompleteTaskActivityWorkItemAsync(TaskActivityWorkItem workItem, TaskMessage responseMessage)
 {
     return(_innerOrchestrationService.CompleteTaskActivityWorkItemAsync(workItem, responseMessage));
 }