Marcin Wisniowski
07/03/2020, 10:03 PM.receive()
on both of them, so if there is anything in channel 1 or anything in channel 2 it resumes, but of course .receive()
doesn't actually work since I can't call it on both. What should I be using here? The point here is that channel 1 is higher priority, so I want to get the next item, from channel 1 if there are any, and from channel 2 if channel 1 is empty.octylFractal
07/03/2020, 10:04 PMoctylFractal
07/03/2020, 10:05 PMMarcin Wisniowski
07/03/2020, 10:10 PM