Scans for visible Wi-Fi networks.
This can take a few seconds; it runs off the main thread so it does not block the app.
Optional
the interface name as returned by interfaces(); omit for the system's default Wi-Fi interface
interfaces()
A Promise that resolves to the networks found, or rejects if the interface doesn't exist or the scan fails
Scans for visible Wi-Fi networks.
This can take a few seconds; it runs off the main thread so it does not block the app.