At the recent Angular Conference ng-conf, zone.js was presented. What I get from the video is that it's an execution context that lets you hook into ALL the function calls (including async ones) that are executed within the 'zone'.
This allows you to both instrument them properly ( get execution times ) but also possibly add some behavior before and after. Check it out at
https://github.com/btford/zone.js/
No comments:
Post a Comment