mirror of
https://github.com/ether/etherpad-lite.git
synced 2026-07-19 17:44:44 +00:00
Rewrite the `callAll` and `aCallAll` functions to support all
reasonable hook behaviors and to report errors for unreasonable
behaviors (e.g., calling the callback twice).
Now a hook function like the following works as expected when invoked
by `aCallAll`:
```
exports.myHookFn = (hookName, context, cb) => {
cb('some value');
return;
};
```
|
||
|---|---|---|
| .. | ||
| api | ||
| assets | ||
| easysync | ||
| images | ||
| cookies.md | ||
| database.md | ||
| docker.md | ||
| documentation.md | ||
| index.md | ||
| localization.md | ||
| plugins.md | ||
| skins.md | ||
| stats.md | ||
| template.html | ||