We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When calling wemoClient.discover, how do I unsubscribe?
wemoClient.discover
The text was updated successfully, but these errors were encountered:
hmm, it currently isn't possible i could think of a couple of solution to solve this
const ctrl = new AbortController() const {signal} = ctrl wemoClientDiscover(cb, { signal }) const listener = wemoClientDiscover(cb) listener.stop()
it would also be cool to do something like
for await (const device of wemoClientDiscover({ signal })) { // ... }
Sorry, something went wrong.
No branches or pull requests
When calling
wemoClient.discover
, how do I unsubscribe?The text was updated successfully, but these errors were encountered: