scala/scala-async

How long does await() wait?

weihsiu opened this issue · 3 comments

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?

I would suggest taking this up with the Scala.js folks

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...

ah, ok! thanks for updating us.