Commit e1adbc0
Specify that Subscription#unsubscribe is idempotent
Adds SUB2b clarifying that repeated calls to `Subscription#unsubscribe`
are a no-op, matching the ably-js implementation across all three
subscription factories (LiveObject EventEmitter.off, the
PathObjectSubscriptionRegister Map.delete, and Instance which delegates
to LiveObject).
Lifted from Sachin's spec-alignment PR [1].
[1] #480
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 9858d2f commit e1adbc0
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1875 | 1875 | | |
1876 | 1876 | | |
1877 | 1877 | | |
| 1878 | + | |
1878 | 1879 | | |
1879 | 1880 | | |
1880 | 1881 | | |
| |||
0 commit comments