Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Latest
interface PeerInfo
import { type PeerInfo } from "https://deno.land/x/natsws@v1.28.0/src/mod.ts";

Properties

name: string

The server name of the peer

current: boolean

Indicates if the server is up-to-date and synchronised

offline: boolean

Indicates the node is considered offline by the group

active: Nanos

Nanoseconds since this peer was last seen

lag: number

How many uncommitted operations this peer is behind the leader