You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In general, it's cool and useful to be able to attach callbacks to resource consumption events.
Retro does this using aspects. It would be nice to refactor some of this code so that:
Retro's callbacks aren't tied in to the instrumentation code (eg, have them explicitly attached), so that others can reuse the code
Implement some sort of general way to define events, and then allow people to attach to them.
For example, the simplest use would be:
on("disk-read", myCallback);
For this to 'just work' would be marvellous. We're pretty much there -- we have the working code and instrumentation -- we just now need it to be organized in the right way.
The text was updated successfully, but these errors were encountered:
In general, it's cool and useful to be able to attach callbacks to resource consumption events.
Retro does this using aspects. It would be nice to refactor some of this code so that:
For example, the simplest use would be:
on("disk-read", myCallback);
For this to 'just work' would be marvellous. We're pretty much there -- we have the working code and instrumentation -- we just now need it to be organized in the right way.
The text was updated successfully, but these errors were encountered: