public Task FinishAsync(StockDeliveryInfoResponseTask task, CancellationToken cancellationToken = default) { this.OnStateChange(); return(this.Workflow.SendResponseAsync(new StockDeliveryInfoResponse(this.Request, task), cancellationToken)); }
public void Finish(StockDeliveryInfoResponseTask task) { this.OnStateChange(); this.Workflow.SendResponse(new StockDeliveryInfoResponse(this.Request, task)); }