public override async Task <Empty> RewindTaskOrchestration(RewindTaskOrchestrationRequest request, ServerCallContext context) { await(_extendedOrchestrationServiceClient ?? throw NotSupported("Rewind")) .RewindTaskOrchestrationAsync(request.InstanceId, request.Reason); return(new Empty()); }
public async Task RewindTaskOrchestrationAsync(string instanceId, string reason) { var request = new RewindTaskOrchestrationRequest { InstanceId = instanceId, Reason = reason }; await _client.RewindTaskOrchestrationAsync(request); }