jacomyal / domino.js

[deprecated] A JavaScript cascading controller for fast interactive Web interfaces prototyping.
https://jacomyal.github.io/domino.js
MIT License
54 stars 7 forks source link

[request] 'after' function in services #38

Open jacomyma opened 11 years ago

jacomyma commented 11 years ago

There is a 'before' function. There could be an 'after' function, triggered however it is a success or a fail.

I would typically need it when I have to dispatch an event related to the fact that the query has been executed (however it succeeds or fails), like decrementing the count of pending queries. The 'before' function was very useful to increment this count.

jacomyal commented 11 years ago

OK, seems legit, it will be added in the next release.