You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm open to be better alternatives, but both of those examples have issues. url |> await api.get is ambiguous between await apt.get(url) or (await apt.get)(url). The latter is impossible because the arrow function itself becomes the new async context, rather than the context the pipeline is in (if that makes sense).
I feel that current syntax for await is counter-intuitive, it appears to invert the order of await and function call.
Could it be something more like:
The text was updated successfully, but these errors were encountered: