blob: 06d6bcb1aff2b15d6509ce74ae46fd7e6aaf003d (
plain) (
blame)
1
2
3
4
5
6
7
8
|
import { WebSocket } from "@fosscord/gateway";
import { Payload } from "./index";
import { setHeartbeat } from "./../util";
import { Server } from "../Server"
export async function onHeartbeat(this: Server, socket: WebSocket, data: Payload) {
await setHeartbeat(socket);
}
|