zilverline / sequent

CQRS & event sourcing framework for Ruby
https://sequent.io
MIT License
540 stars 58 forks source link

Sagas? #11

Closed pinyin closed 9 years ago

pinyin commented 9 years ago

Hi,

I'm also interested in implementing CQRS/ES in Ruby and searched into this repo.

May I ask how would you support sagas/process managers? Because I didn't notice any related codes.

lvonk commented 9 years ago

Hi,

This is indeed not in Sequent. Currently we implemented this in our own application using an EventHandler that executes new Commands. You could do this in the same transaction, but also choose to do this in the background with for instance delayed job.

Hope this helps.