Delayed reques does not work.

26 views
Skip to first unread message

Andrey Deykunov

unread,
Apr 10, 2021, 4:21:04 PM4/10/21
to actor-framework
Hi guys,

I got issue when running hello world example from sources:

https://github.com/actor-framework/actor-framework/blob/master/examples/hello_world.cpp

The call self->request(buddy, std::chrono::seconds(10), "Hello World!") executes immediatelly without 10 (or any other) sec delay. Any ideas why it's happening?

Thanks.





  

Dominik Charousset

unread,
Apr 11, 2021, 2:06:59 PM4/11/21
to actor-f...@googlegroups.com
Hi,

I think there’s a slight misunderstanding of the API. :)

The 10 seconds isn’t a delay. It’s a timeout, i.e., the sender of the message receives a timeout error if the receiver doesn’t respond within 10 seconds.

There’s currently no delayed send function in CAF, but it has been requested [1].

    Dominik


--
You received this message because you are subscribed to the Google Groups "actor-framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to actor-framewo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/actor-framework/3e2b9124-5c75-4a7f-a6b0-baf18ddd32adn%40googlegroups.com.

Andrey Deykunov

unread,
Apr 11, 2021, 2:27:41 PM4/11/21
to actor-framework
Ohh I see)) sorry for stupid question, I thought it supposed to be working as well as delayed_send)

воскресенье, 11 апреля 2021 г. в 21:06:59 UTC+3, Dominik Charousset:
Reply all
Reply to author
Forward
0 new messages