This is working for me but I'm wondering if there ...
# coroutines
d
This is working for me but I'm wondering if there is a more idiomatic way to wait rather than using the atomic boolean
while (!ready.get()) { delay(1000) }
? I'm using a RENDEZVOUS channel to send events from various sensors to a component that processes them.
ready
is set by another component when it does not want to receive results while in some processing state but it wants to receive them (i.e. not lose any) as soon as it's ready