Browse documentation

NetworkStatus

Type. Connectivity and signal metrics snapshot.

Table of contents

Category

Type

Type import

ts
import type { NetworkStatus } from "valyrian.js/network";

Public signature

ts
type NetworkStatus = { online: boolean; effectiveType?: string; downlink?: number; rtt?: number; saveData?: boolean; };

Type usage

NetworkStatus always reports online and adds Network Information metrics when the runtime provides them.