Open Mr-Leshiy opened 2 weeks ago
We want the three added functions:
make_waiter() -> Returns the RX handle, sets internally Some(tx_handle).
set_waiter(tx) -> Sets Some(tx_handle) if the mpsc was already created outside.
finished() -> if tx_handle.is_not_none() tx_handle.send(self)
Summary
Implement a mechanism which will allow, for a producer of the Hermes event, to know whether this event was already executed or not. So the event producer's could look like:
Description
Potential implementation