Refactor socket.io controller
This commit is contained in:
parent
107155a661
commit
0118a6fb15
10 changed files with 480 additions and 253 deletions
|
|
@ -104,6 +104,10 @@ export function addReportHook(hook) {
|
|||
reportHooks.push(hook);
|
||||
}
|
||||
|
||||
export function clearReportHooks() {
|
||||
reportHooks = [];
|
||||
}
|
||||
|
||||
/**
|
||||
* Force metrics to be reported right now.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue