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
Racing two suspendable functions, foo and bar, should have the following semantics:
If foo completes, then return the foo result and cancel the bar execution;
If bar completes, then return the bar result and cancel the foo execution;
If one of the two functions fails at first, wait for the result of the other. If it's an error, return an error (containing both errors?), and return the second result otherwise.
The text was updated successfully, but these errors were encountered:
Racing two suspendable functions,
foo
andbar
, should have the following semantics:foo
completes, then return thefoo
result and cancel thebar
execution;bar
completes, then return thebar
result and cancel thefoo
execution;The text was updated successfully, but these errors were encountered: