public void HandleSuccess(ExternalTask <TJob> task) { var result = new ExternalTaskResult { ExternalTaskId = task.ExternalTaskId, Topic = task.Topic, Status = ExternalTaskResultStatus.FINISHED, Variables = task.Variables }; SendToResultChannel(result); }
public void HandleStart(ExternalTask <TJob> task) { var result = new ExternalTaskResult { ExternalTaskId = task.ExternalTaskId, Topic = task.Topic, Status = ExternalTaskResultStatus.RUNNING, Variables = task.Variables }; SendToResultChannel(result); }