private IEnumerable StartedBy(OrderPlaced e) { yield return(new RequestPayment(e.OrderId) .AndSignalTimeout() .ToSelf() .After(TimeSpan.FromHours(1))); yield return(new SendPurchaseConfirmation(e.OrderId)); }
private IEnumerable On(OrderPlaced e) { yield return(new RequestPayment(e.OrderId)); yield return(new SendPurchaseConfirmation(e.OrderId)); }