Skip to content

Conversation

KhafraDev
Copy link
Member

both _fail the websocket connection_ and _close the websocket connection_ do fundamentally the same things, but failing it will emit an error event (for WebSocket) which is a better fit for these cases

@KhafraDev KhafraDev merged commit ae18f0e into nodejs:main Sep 27, 2024
33 checks passed
@KhafraDev KhafraDev deleted the prefer-fail-over-close branch September 27, 2024 23:09
@github-actions github-actions bot mentioned this pull request Dec 3, 2024
This was referenced Dec 16, 2024
@github-actions github-actions bot mentioned this pull request Mar 12, 2025
@github-actions github-actions bot mentioned this pull request May 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants