diff options
author | 2023-05-22 12:29:10 -0700 | |
---|---|---|
committer | 2023-05-22 12:29:10 -0700 | |
commit | 82e762fe2f55a0dac7f545bf4494f94db9d72349 (patch) | |
tree | a90ba5a2e279b331e6b71503bf48de5ca144ff2f /src/bun.js/builtins/cpp/WritableStreamDefaultControllerBuiltins.h | |
parent | a5acf7bfa0333fc5cb298df2b3ea09eaa56075ac (diff) | |
download | bun-82e762fe2f55a0dac7f545bf4494f94db9d72349.tar.gz bun-82e762fe2f55a0dac7f545bf4494f94db9d72349.tar.zst bun-82e762fe2f55a0dac7f545bf4494f94db9d72349.zip |
[breaking] ServerWebSocket.publish no longer publishes to self by default
This changes `publishToSelf` to be `false` by default instead of `true`.
This is a breaking change because it means that `ws.publish("foo", "bar")` will exclude `ws` from the list of websockets to broadcast.
We are making this change because many people asked for this and were confused by the status quo - that `w.publish` publishes to self.
Diffstat (limited to 'src/bun.js/builtins/cpp/WritableStreamDefaultControllerBuiltins.h')
0 files changed, 0 insertions, 0 deletions