Pad: New padCheck hook

This commit is contained in:
Richard Hansen 2022-04-08 03:07:36 -04:00
parent a2460a9848
commit f9610452cf
3 changed files with 15 additions and 0 deletions

View file

@ -366,6 +366,18 @@ Usage examples:
* https://github.com/ether/ep_comments_page
## `padCheck`
Called from: `src/node/db/Pad.js`
Called when a consistency check is run on a pad, after the core checks have
completed successfully. An exception should be thrown if the pad is faulty in
some way.
Context properties:
* `pad`: The Pad object that is being checked.
## socketio
Called from: src/node/hooks/express/socketio.js