Is there a way to hook up a function or task to sails response , before emitting the functions, like for example , i have several res.ok(object_output)
; based on some conditions and in separate controllers , i want to intercept each res.ok (just like policies) to do something before returning the response.
via Theophilus Omoregbee
No comments:
Post a Comment