advise.js provides general AOP facilities to advise object methods dynamically. Unlike dcl.js it is not used
to weave methods of “classes”, but works with objects.
It is defined in
The return value of this module is a function, which is called
advise() in this documentation.
- advise() - the AOP composition engine
Additionally it hosts a raft of public properties.
- advise.before() - shortcut for a “before” advice
- advise.after() - shortcut for an “after” advice
- advise.around() - shortcut for an “around” advice