rust tokio primitive that would make two threads wait until an event happens and then continue but if the event already happened then don’t even stop
I am look for a primitive that would make two threads wait until an event happens and then continue but if the event already happened then don’t even stop waiting.
I imagine that a watch channel may work but that does not seem very idiomatic.
rust tokio primitive that would make two threads wait until an event happens and then continue but if the event already happened then don’t even stop
I am look for a primitive that would make two threads wait until an event happens and then continue but if the event already happened then don’t even stop waiting.
I imagine that a watch channel may work but that does not seem very idiomatic.