Code-blocks triggered by hooks / events / join points (AOP - Aspect oriented programming)
Implement the option of triggering code-blocks on specific events, providing the event context to the code-block as arguments.
Example:
Whenever an intent is triggered, run a custom code-block that receives the event's context (like intent-name and matching percentage) as arguments. This can then be used to feed custom analytics / BI.
There are other use-cases possible with this.
More info on AOP: https://en.wikipedia.org/wiki/Aspect-oriented_programming
1
Please sign in to leave a comment.
Comments
0 comments