Method DisposeAsync
- Namespace
- Yeelight
- Assembly
- YeelightClient.dll
DisposeAsync()
Stops looking for lights, forgets them, and closes their connections. What the event dispatcher still had to raise is dropped.
public ValueTask DisposeAsync()
Returns
- ValueTask
A task that ends when the connections are closed.