Adding documentation for ask timeout expiry
This commit is contained in:
parent
193618e195
commit
6ca343eb6e
3 changed files with 10 additions and 3 deletions
|
|
@ -280,8 +280,9 @@ If invoked without the sender parameter the sender will be
|
|||
Ask: Send-And-Receive-Future
|
||||
----------------------------
|
||||
|
||||
Using ``ask`` will send a message to the receiving Actor asynchronously and
|
||||
will immediately return a :class:`Future`:
|
||||
Using ``?`` will send a message to the receiving Actor asynchronously and
|
||||
will immediately return a :class:`Future` which will be completed with
|
||||
an ``akka.actor.AskTimeoutException`` after the specified timeout:
|
||||
|
||||
.. code-block:: java
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue