mirror of
https://github.com/linuxserver/core.git
synced 2026-02-20 05:07:19 +08:00
Adding a onPingComplete callback without needing to include metrics_core module
This commit is contained in:
parent
3593b33d7a
commit
1eba1b1b20
@ -120,6 +120,11 @@ define(function(require, exports, module) {
|
||||
* @return {Object}
|
||||
*/
|
||||
getLastPing: apiFunction.bind(null, "getLastPing"),
|
||||
|
||||
/**
|
||||
* Add a hook for ping.complete
|
||||
*/
|
||||
onPingComplete: apiFunction.bind(null, "onPingComplete"),
|
||||
});
|
||||
|
||||
register(null, { metrics: plugin });
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user