diff --git a/.changes/cleanup-fn-websocket.md b/.changes/cleanup-fn-websocket.md new file mode 100644 index 00000000..1af81197 --- /dev/null +++ b/.changes/cleanup-fn-websocket.md @@ -0,0 +1,5 @@ +--- +websocket-js: minor +--- + +`addListener` now returns a cleanup function instead of `void` to remove the listener. \ No newline at end of file