Need a way to wait for a reply "asynchronously"
|Reported by:||Jakub Jermář||Owned by:|
|Blocker for:||Depends on:|
In the error paths such as the one in
when we succeed to send
, but fail to forward
, it may be desirable to be able to wait for the reply asynchronously. In the context of the above example, asynchronous waiting for the reply would basically mean marking the message with a special flag telling the async framework to discard the message as soon as the reply arrives.
Without this feature, even the error paths need to wait for the reply synchronously (or else the message will leak), which can prevent forward progress of the task at hand until the one which owes the reply is forcibly killed (eg. because it is still waiting for some other message such as
from the above example).