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()); }
public Task CompleteTaskActivityWorkItemAsync(TaskActivityWorkItem workItem, TaskMessage responseMessage) { return(_innerOrchestrationService.CompleteTaskActivityWorkItemAsync(workItem, responseMessage)); }