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
PromiseSource and Barrier are the same thing #38796
Comments
We must FIGHT to the end. |
I don't understand though... Are they really the same thing? |
I believe so... Both expose a promise that can be resolved from the outside |
I prefer to keep Barrier, because I like to think of it as a separate synchronization mechanism than promises, even if it uses promises as its implementation. So, I would live with the "duplication". |
Well, the single usage of the |
👍 To replace the usage of @joaomoreno It does look like you have a barrier type of usage going on in the |
Well, there is a But sure. All for the glory of less code. I had to move it down, so I just replaced |
We
PromiseSource
andBarrier
and I am very sure they both do the same. Please let only one survive.The text was updated successfully, but these errors were encountered: