Skip to content

websocket: deprecate callback argument to websocket_connect#3486

Merged
bdarnell merged 1 commit intotornadoweb:masterfrom
bdarnell:websocket-deprecate-callback
Apr 25, 2025
Merged

websocket: deprecate callback argument to websocket_connect#3486
bdarnell merged 1 commit intotornadoweb:masterfrom
bdarnell:websocket-deprecate-callback

Conversation

@bdarnell
Copy link
Member

This was missed in the 6.0-era deprecation of callback arguments. The on_message_callback remains because even in coroutine-oriented code it is often more convenient to use a callback than to loop on read_message.

This was missed in the 6.0-era deprecation of callback arguments.
The on_message_callback remains because even in coroutine-oriented
code it is often more convenient to use a callback than to
loop on read_message.
@bdarnell bdarnell merged commit 1161f9b into tornadoweb:master Apr 25, 2025
15 checks passed
@bdarnell bdarnell deleted the websocket-deprecate-callback branch April 25, 2025 16:00
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.

1 participant