Skip to content
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

sendAndGetReply return type incorrect #1969

Open
dmclean62 opened this issue Aug 12, 2019 · 0 comments
Open

sendAndGetReply return type incorrect #1969

dmclean62 opened this issue Aug 12, 2019 · 0 comments

Comments

@dmclean62
Copy link
Contributor

Mailing List thread:

Below is a bit of code out of LiftActor.scala and it looks to me like
the proper return type of sendAndGetReply should be Box[Any] rather
than Any.

/**

  • Send a message to the Actor and wait for
  • up to timeout milliseconds for
  • the actor to process the message and reply.
  • This method is the Java callable version of !?.
    */
    def sendAndGetReply(timeout: Long, msg: Any): Any = this.!?(timeout, msg)

/**

  • Send a message to the Actor and wait for
  • up to timeout milliseconds for
  • the actor to process the message and reply.
    */
    def !?(timeout: Long, message: Any): Box[Any] =
    this !! (message, timeout)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant