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
# @note This method should only be used when multiple fibers have to be processed in parallel. There's no need to use `Fiber.await` for single IO calls.
149
157
defself.await(fibers)
150
158
f,fibers=Fiber.current,Array(fibers)
159
+
await_channel=f.__await_channel(true)
151
160
152
161
# check which fibers are alive (i.e. have yielded) and which have errored out
153
162
i,err,num_wait_for=0,nil,0
@@ -169,7 +178,7 @@ def self.await(fibers)
169
178
end
170
179
171
180
# wait on async fibers; resume right away if one of the fibers errors out
0 commit comments