Method DisconnectAsync
- Namespace
- Yeelight
- Assembly
- YeelightClient.dll
DisconnectAsync()
Closes the connection to the device, which frees one of its four. The next command, or ConnectAsync(CancellationToken), makes a new one.
public Task DisconnectAsync()
Returns
- Task
A task that ends when the connection is closed.