client is the daemon client.
Optional
errorerror is an error that occurred during polling, if any.
networks is the list of networks.
connect creates a new connection to a network. It is semantically equivalent to calling PutNetwork followed by Connect on the returned network. If no parameters are given, the connection with the given ID is connected.
daemonStatus returns the current status of the daemon.
deviceMetrics returns a reference to the current device metrics for the network with the given ID. If pollInterval is provided, the metrics will be polled at the given interval, otherwise it defaults to a 5 second interval. The polling will stop when the component is unmounted.
Optional
pollInterval: numberputNetwork creates a new network connection.
Generated using TypeDoc
Context is the context for interacting with a webmesh daemon.