mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
prom: fix gauge typings
This commit is contained in:
1 parent
43f5f0c9c3
commit
55cee2ef1c
4 files changed
+7
-6
No files matched your search
@@ -416,9 +416,10 @@ export function Connection(
|
||||
};
|
||||
}
|
||||
conn.onclose = () => {
|
||||
h.cleanup?.(args);
|
||||
bus.emit('connection/close', h);
|
||||
h.cleanup?.(args);
|
||||
};
|
||||
bus.emit('connection/active', h);
|
||||
} catch (e) {
|
||||
await h.onerror(e);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user