Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mark MESOP_CONCURRENT_UPDATES_ENABLED as deprecated and update WebSockets docs #1223

Merged
merged 2 commits into from
Mar 5, 2025

Conversation

wwwillchen
Copy link
Collaborator

No description provided.

@wwwillchen wwwillchen requested a review from richard-to March 4, 2025 23:42
@@ -258,7 +258,9 @@ By default, this is not enabled. You can enable this by setting it to `true`.

This is an experimental feature and is subject to breaking change. Please follow [https://github.com/google/mesop/issues/1028](https://github.com/google/mesop/issues/1028) for updates.

This uses WebSockets instead of HTTP Server-Sent Events (SSE) as the transport protocol for UI updates. If you set this environment variable to `true`, then [`MESOP_CONCURRENT_UPDATES_ENABLED`](#MESOP_CONCURRENT_UPDATES_ENABLED) will automatically be enabled as well.
This uses WebSockets instead of HTTP Server-Sent Events (SSE) as the transport protocol for UI updates. Enabling this also enables user events to be handled concurrently, which is particularly useful supporting interactivity for long-running event handlers.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe adjust the wording a bit for Enabling this also enables...

Sounds a bit odd now that we've deprecating MESOP_CONCURRENT_UPDATES_ENABLED. But can update when it's fully removed.

Copy link
Collaborator Author

@wwwillchen wwwillchen Mar 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

slightly reworded this and also added some caveats above on what this means.

@wwwillchen wwwillchen force-pushed the deprecate-concurrent branch from 42d888c to 919e1ef Compare March 5, 2025 06:30
@wwwillchen wwwillchen changed the title Mark MESOP_CONCURRENT_UPDATES_ENABLED as deprecated Mark MESOP_CONCURRENT_UPDATES_ENABLED as deprecated and update WebSockets docs Mar 5, 2025
@wwwillchen wwwillchen merged commit 1808acb into google:main Mar 5, 2025
3 checks passed
@wwwillchen wwwillchen deleted the deprecate-concurrent branch March 5, 2025 06:31
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