Commit 535eaee
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 037de99 commit 535eaee
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1877 | 1877 | | |
1878 | 1878 | | |
1879 | 1879 | | |
| 1880 | + | |
1880 | 1881 | | |
1881 | 1882 | | |
1882 | 1883 | | |
| |||
0 commit comments