Skip to content

docs: explain how shared signal writes are confirmed in tests - #5999

Open
mcollovati wants to merge 1 commit into
mainfrom
docs/shared-signal-write-confirmation
Open

docs: explain how shared signal writes are confirmed in tests#5999
mcollovati wants to merge 1 commit into
mainfrom
docs/shared-signal-write-confirmation

Conversation

@mcollovati

Copy link
Copy Markdown
Contributor

A write to a shared signal is applied optimistically and is visible through peek() right away, but the SignalOperation it returns completes only after the queued confirmation task has been run by runPendingSignalsTasks(). Document that, including why blocking on operation.result().get(...) before draining the queue always times out.

Refs vaadin/browserless-test#202

A write to a shared signal is applied optimistically and is visible
through peek() right away, but the SignalOperation it returns completes
only after the queued confirmation task has been run by
runPendingSignalsTasks(). Document that, including why blocking on
operation.result().get(...) before draining the queue always times out.

Refs vaadin/browserless-test#202
@mcollovati mcollovati added flow target/v25.2 Automatically cherry-pick to the v25.2 branch labels Sep 10, 2026
@github-actions

Copy link
Copy Markdown

Preview Deployment

This PR has been deployed for preview.

URL: https://docs-preview-pr-5999.fly.dev

Changed pages

Added content is highlighted in green; removed content is marked in red on each page.

Built from 6c32725

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

flow target/v25.2 Automatically cherry-pick to the v25.2 branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant