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
in case each promise run in go-routine , is it possible to use timeout ?
e.g. in case you are running promise.all for promise A and promise B and you want to wait for 10 seconds for all the responses (time limit) ,but promise A continue to run (possible forever due to some issue), is it possible to kill promise A after the 10 seconds ? (when you want to get the results with the time limt)
Thanks!
The text was updated successfully, but these errors were encountered:
HI,
Few questions.
promise
run in go routine ?e.g. in case you are running
promise.all
for promise A and promise B and you want to wait for 10 seconds for all the responses (time limit) ,but promiseA
continue to run (possible forever due to some issue), is it possible to kill promiseA
after the 10 seconds ? (when you want to get the results with the time limt)Thanks!
The text was updated successfully, but these errors were encountered: