Changes between Version 1 and Version 2 of HackageDB/2.0/Architecture/Extras
- Timestamp:
- 08/16/10 07:42:08 (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HackageDB/2.0/Architecture/Extras
v1 v2 111 111 See also: [wiki:HackageDB/2.0/Architecture/Hook] 112 112 113 Hooks are generally called after an update happens, and they can take any number of arguments and run an IO action. They may call other Hooks in turn, but they shouldn't take too long. They are processed in sequence, and run in the reverse order of their adding. You can find a list of them.113 Hooks are generally called after an update happens, and they can take any number of arguments and run an IO action. They may call other Hooks in turn, but they shouldn't take too long. They are processed in sequence, and run in the reverse order of their adding. 114 114 115 Filters are generally called before an update happens, with the ability to stop the event, or inject some value into it. They can also take any number of arguments, and return a typed IO result. They use the same internal representation as Hooks, but have more specific utility functions. You can find a list of them.115 Filters are generally called before an update happens, with the ability to stop the event, or inject some value into it. They can also take any number of arguments, and return a typed IO result. They use the same internal representation as Hooks, but have more specific utility functions. 116 116 117 117 == User lists ==
