However, we recently merged
S4-95 branch into dev so the patch proposed here would not apply. Also, in the new implementation, the emitter first acquires a permit (so it can actually write on the TCP channel), before the message can be sent. The actual write is an asynchronous operation.
In this case what would be the meaning of returning a boolean? We could return a future though, in case the sender might want to do something about that. In particular, this information could be useful in some implementations of sender executors.