Hi Daniel,

Please open a PR with the suggested fix for the docs!
As for the broken docs, it's already fixed:
http://doc.akka.io/docs/akka/2.3-M2/scala/typed-actors.html

Cheers,
√


On Tue, Jan 7, 2014 at 2:46 PM, Daniel Hobi <[email protected]> wrote:

> Hi √ :-)
>
> Thanks for your (very) fast response. Maybe an additional "throws
> exception" method in the TypedActor docs might help others?
> trait Squarer {
>     def squareDontCare(i: Int): Unit //fire-forget
>
>     def square(i: Int): Future[Int] //non-blocking send-request-reply
>
>     def squareNowPlease(i: Int): Option[Int] //blocking send-request-reply
>
>
>     def squareNow(i: Int): Int //blocking send-request-reply
>
>     @throws(classOf[Exception])
>     def squareTry(i: Int): Int //blocking send-request-reply with possible
> exception
> }
> Daniel
>
> p.s. TypedActor docs seems to be broken in
> http://doc.akka.io/docs/akka/2.2.0/scala/typed-actors.html and above as
> it defines the Squarer trait two times instead of SquarerImpl
>
>  --
> >>>>>>>>>> Read the docs: http://akka.io/docs/
> >>>>>>>>>> Check the FAQ: http://akka.io/faq/
> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
> ---
> You received this message because you are subscribed to the Google Groups
> "Akka User List" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Cheers,
√

*Viktor Klang*
*Director of Engineering*
Typesafe <http://www.typesafe.com/>

Twitter: @viktorklang

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: http://akka.io/faq/
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to