feat(websocket): add ability to remove listener (#2027)

This commit is contained in:
Twilight authored and GitHub committed 2025-01-27 15:18:24 +01:00
1 parent 0b3b3a22d2
commit 78acfa456f
3 files changed
+16 -6

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
---
websocket-js: minor
websocket: minor
---
`addListener` now returns a cleanup function instead of `void` to remove the listener.