ably-js icon indicating copy to clipboard operation
ably-js copied to clipboard

`Connection.whenState` emits an invalid state change when already in state

Open lawrence-forooghian opened this issue 1 year ago • 1 comments

It emits a state change whose previous is undefined. This isn't allowed according to our public typings (and the feature spec).

┆Issue is synchronized with this Jira Task by Unito

lawrence-forooghian avatar Jan 26 '24 16:01 lawrence-forooghian

➤ Automation for Jira commented:

The link to the corresponding Jira issue is https://ably.atlassian.net/browse/SDK-4059

sync-by-unito[bot] avatar Jan 26 '24 16:01 sync-by-unito[bot]

Fixed in #1640.

lawrence-forooghian avatar May 24 '24 17:05 lawrence-forooghian