New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change ask timeout from Timeout to Duration in typed javadsl. #25975
Conversation
I found the API lack doc or doc about the parameters. |
Test PASSed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good, one small nitpick
@@ -167,7 +167,7 @@ trait ActorContext[T] extends akka.actor.typed.ActorContext[T] { this: akka.acto | |||
* *Warning*: This method is not thread-safe and must not be accessed from threads other | |||
* than the ordinary actor message processing thread, such as [[scala.concurrent.Future]] callbacks. | |||
*/ | |||
def setReceiveTimeout(d: FiniteDuration, msg: T): Unit | |||
def setReceiveTimeout(receiveTimeout: FiniteDuration, msg: T): Unit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
perhaps timeout:
to not repeat too much from the method name
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I aliased it with the latter responseTimeout
in the ask
method.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@patriknw Done.
…d to receiveTimeout.
Test PASSed. |
1 similar comment
Test PASSed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
refs:#25816