How long does await() wait?
weihsiu opened this issue · 3 comments
weihsiu commented
i am using scala-async with scala.js and would like to specify the timeout duration await() waits for the future to complete. the default seems to be just 1 minute. is there anyway to specify a different duration?
SethTisue commented
I would suggest taking this up with the Scala.js folks
weihsiu commented
my bad. i am calling a web service inside await() and the web service is hosted on http4s which has default response idle timeout of 1 minute...
SethTisue commented
ah, ok! thanks for updating us.