mirror of
https://github.com/danbulant/discord.js
synced 2026-05-27 05:52:05 +00:00
Add CloseEvent external
This commit is contained in:
parent
ea798eaaf3
commit
7ede44bc00
1 changed files with 5 additions and 0 deletions
|
|
@ -229,6 +229,11 @@ class WebSocketManager extends EventEmitter {
|
||||||
this.sequence = -1;
|
this.sequence = -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @external CloseEvent
|
||||||
|
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/CloseEvent}
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Run whenever the connection to the gateway is closed, it will try to reconnect the client.
|
* Run whenever the connection to the gateway is closed, it will try to reconnect the client.
|
||||||
* @param {CloseEvent} event The WebSocket close event
|
* @param {CloseEvent} event The WebSocket close event
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue