-
Notifications
You must be signed in to change notification settings - Fork 0
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
go-async/ #6
Comments
Are you sure this is correct? // inside an async function This will execute the call synchronously. How about: hello_res = await hello |
@Dragomir-Ivanov const [hello, foo] = await Promise.all([GetDataAsIntAsync("hello"), GetDataAsIntAsync("hello")]); |
@ChayimFriedman2 Yes, that is little more complex analog to my proposal. |
I believe we have errgroup for more idiomatic error handling |
yes, you are right. I will update this later. Thanks! |
You should take a drink and forget about that I reworked the The old version is being used inside my company to serve millions of requests daily at scale. Think about what you can do with mine :). |
@jamestrandung sure thanks for the info will take a look. |
Retrofitting Async/Await in Go 1.18 | CS Grinding
It is idiomatic to use channels in Go, so why do we need async/await?
https://csgrinding.xyz/go-async/
The text was updated successfully, but these errors were encountered: