API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
interfaceNetworkHintSource
@codexo/exojs / core / stable
Anything that can report network reachability and say when it changed. A PlatformAdapter satisfies it, and so does the standalone browser source - which is what lets a Connectivity exist before an application does.
1
props
1
methods
0
events
Import
import { NetworkHintSource } from '@codexo/exojs'Anything that can report network reachability and say when it changed.
A PlatformAdapter satisfies it, and so does the standalone browser source - which is what lets a Connectivity exist before an application does.
Methods1
onNetworkHintChange(listener: (hint: NetworkHintWhat a host reports about network reachability. `'unknown'` is an answer, not a missing one: a host that cannot say whether a network exists is genuinely not s…) => void): PlatformSubscriptionUndo function returned by every `PlatformAdapter` subscription. Calling it twice is a no-op.Properties1
Source