ably-js
ably-js copied to clipboard
`Connection.whenState` emits an invalid state change when already in state
It emits a state change whose previous
is undefined
. This isn't allowed according to our public typings (and the feature spec).
➤ Automation for Jira commented:
The link to the corresponding Jira issue is https://ably.atlassian.net/browse/SDK-4059
Fixed in #1640.