Browse documentation

NetworkEvent

Enumerates the ONLINE, OFFLINE and CHANGE network events.

Table of contents

Category

Value

Import

js
import { NetworkEvent } from "valyrian.js/network";

Public signature

ts
enum NetworkEvent

API form

NetworkEvent is an enum used by NetworkManager.on(...) and off(...).

Members

ts
NetworkEvent.ONLINE = "online"
NetworkEvent.OFFLINE = "offline"
NetworkEvent.CHANGE = "change"