public void BuildTo(Saga <TState, TKey> saga) { if (_steps.Count == 0) { throw new Exception("Saga is not configured"); } foreach (var step in _steps) { step.BuildTo(saga); } }
public void BuildTo(Saga <TState, TKey> saga) { saga.WhenCompleted(_onComplete); }
public void BuildTo(Saga <TState, TKey> saga) { saga.StartWith(_topic, _getKey, _createState, _onReceive); }
public void BuildTo(Saga <TState, TKey> saga) { saga.ContinueWith(_topic, _getKey, _onReceive); }