Best practices for bundles & triggers

12 views
Skip to first unread message

Daniel Cazzulino

unread,
Jul 20, 2010, 2:32:51 PM7/20/10
to ravendb
As far as I can see, triggers are run synchronously when the operation they intercept is performed (i.e. an AbstractDeleteTrigger).

Should bundles perform side-effect updates on an async task rather than synchronously with the operation? I can see how the bundle might need to wait on an index, or perform more complex operations and cause the main operation to take longer than needed... 

thoughts?

/kzu

--
Daniel Cazzulino | Developer Lead | XML MVP | Clarius Consulting | +1 425.329.3471
Reply all
Reply to author
Forward
0 new messages