quasar icon indicating copy to clipboard operation
quasar copied to clipboard

ActorRef:send() ignored Timeout args!

Open linkerlin opened this issue 8 years ago • 2 comments

@Override public boolean send(Message message, long timeout, TimeUnit unit) throws SuspendExecution, InterruptedException { send(message); return true; }

@Override public boolean send(Message message, Timeout timeout) throws SuspendExecution, InterruptedException { send(message); return true; }

linkerlin avatar Aug 06 '16 16:08 linkerlin

The documentation specifies this:

Currently, this behavior is not yet supported. The message will be sent using send(Object) and the timeout argument will be disregarded.

If this is important to you, you can use an explicit channel (actors are free to use channels other than their mailbox).

pron avatar Aug 06 '16 18:08 pron

@linkerlin Let's leave it open as an enhancement reminder

circlespainter avatar Aug 10 '16 09:08 circlespainter