Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resolve
join
promise after API channel ready (#185)
Previously, the (implicit) promise returned by `join` would resolve after establishing the transports, but before the API data channel was attached. This meant there was a small window of time where the API data channel was not ready, and trying to use the subscriber API during that time would fail silently. This change returns a promise that does not resolve until after the API channel is established.
- Loading branch information
4d1d436
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Im so sad
This change make a error in ion-app-web:
trickle error: no rtc transport exists for this Peer
It worked fine when i use v1.7.0