Skip to content

Conversation

@randomsync
Copy link
Owner

This fixes the issue when listening right after subscribing, which if it happens too quickly doesn't let the on_subscribe callback finish and returns an error that the client isn't subscribed. Now, waiting until timeout to let the callback complete.

Fixes #15

@randomsync randomsync linked an issue Jul 16, 2020 that may be closed by this pull request
@randomsync randomsync merged commit d7f62fc into subscribe-with-wildcards Jul 19, 2020
@randomsync randomsync deleted the wait-subscribe-before-listen branch July 19, 2020 01:38
randomsync added a commit that referenced this pull request Jul 19, 2020
* fix issue with subscribe async with wildcard topics

* Wait for subscribe to complete before listening (#20)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

subscribe async not work due to time out - loop() in connect fails ?

2 participants