Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
class Heartbeat
import { Heartbeat } from "https://deno.land/x/natsws@v1.28.0/src/nats-base-client.ts";

Constructors

new
Heartbeat(
ph: PH,
interval: number,
maxOut: number,
)

Properties

interval: number
maxOut: number
pendings: Promise<void>[]
ph: PH
optional
timer: number

Methods

cancel(stale?: boolean)