method HeartbeatSweeper.prototype.start
HeartbeatSweeper.prototype.start(): void

Starts the interval. A no-op when heartbeats are disabled, so a plugin left at its defaults never creates a timer.

Return Type

void

Usage

import { HeartbeatSweeper } from "websocket-plugin/src/index.ts";