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

SSA: Add BarrierGuardWithState #17661

Merged
merged 2 commits into from
Oct 8, 2024
Merged

Conversation

asgerf
Copy link
Contributor

@asgerf asgerf commented Oct 4, 2024

Adds BarrierGuardWithState<> for when you need a barrier guard where the flow state is part of the signature.

In most cases one could get by with just implementing separate barrier guards for each flow state, but in JS we need this in order to share barrier guards between the shared library and old data flow library.

@asgerf asgerf marked this pull request as ready for review October 7, 2024 08:47
@asgerf asgerf requested a review from hvitved October 7, 2024 08:47
@asgerf asgerf added the no-change-note-required This PR does not need a change note label Oct 7, 2024
hvitved
hvitved previously approved these changes Oct 7, 2024
Copy link
Contributor

@hvitved hvitved left a comment

Choose a reason for hiding this comment

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

One minor thing, otherwise LGTM.

bindingset[this]
signature class StateSig;

module WithState<StateSig State> {
Copy link
Contributor

Choose a reason for hiding this comment

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

Private

@asgerf asgerf merged commit 5a4cd1c into github:main Oct 8, 2024
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-change-note-required This PR does not need a change note
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants