Skip to content

ConnectivityService

Service to inspect and monitor network connectivity status.

isOnline(): Promise<boolean>

Resolves to true if the host is connected to the network, false otherwise.

Promise<boolean>