He-Pin commented on code in PR #1424: URL: https://github.com/apache/pekko/pull/1424#discussion_r1966478570
########## actor/src/main/scala/org/apache/pekko/pattern/FutureTimeoutSupport.scala: ########## @@ -87,4 +86,64 @@ trait FutureTimeoutSupport { } p } + + /** + * Returns a [[scala.concurrent.Future]] that will be completed with a [[TimeoutException]] + * if the provided value is not completed within the specified duration. + */ + def timeout[T](duration: FiniteDuration, using: Scheduler)(value: => Future[T])( Review Comment: but it was `using` in the code above. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@pekko.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@pekko.apache.org For additional commands, e-mail: notifications-h...@pekko.apache.org