Crate yo_netwatch

Crate yo_netwatch 

Source
Expand description

yo_netwatch: A Rust crate to watch network connectivity changes, inspired by Flutter’s connectivity_plus crate.

Provides a background watcher thread that emits true (online) or false (offline) through a channel whenever the network status changes.

Structs§

Receiver
The receiving side of a channel.

Functions§

start_network_watcher