mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-02-01 03:12:42 +01:00
36aceb3aba
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 | ||
contentcollector.js | ||
hooks.js | ||
promises.js | ||
socketio.js | ||
webaccess.js |