Skip to content
Commit Detail

Commit c01faed

Author
Jon Phillips <jphillips@cloudflare.com> 2024-07-09 18:02:47 +0100
Parents
176f8d5
Tree
52ce1e0
Refactor workerd::api::WebSocket such that it no longer needs callers to
indicate "locality" to decide whether to register pending events.

Whether to register pending events (and whether to tie the lifetime of
the websocket connection to the IoContext) can be determined purely
based on existing internal state.

Files changed

4 files changed~4 modified