How to use the node-wifi.disconnect function in node-wifi

To help you get started, we’ve selected a few node-wifi examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ruslang02 / atomos / apps / official / settings / sections / network-wlan.js View on Github external
click() {
						wifi.disconnect().then(function () {
							listConnectedNetworks().then(listNetworks);
						}).catch(console.error)
					}
				}]).popup();