I think it would be useful to be able to skip subsequent hooks, without throwing an error (which seems the only way to halt the queue). Proposal:
Model.observe('before save', function(ctx, next) {
next(null, ctx.instance && ctx.instance.disabled); // skip if second callback arg == true
});
I think it would be useful to be able to skip subsequent hooks, without throwing an error (which seems the only way to halt the queue). Proposal: