mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-13 10:03:31 +01:00
Add CloseEvent external
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user