necati
09/01/2019, 11:19 PMoctylFractal
09/01/2019, 11:21 PMChannel or Flow to setup async event transfer, e.g. by sending events to Channel and having something receive in a loop and dispatchoctylFractal
09/01/2019, 11:53 PMFlow -- publisher field would be a flow derived from a BroadcastChannel, you would also store said channel. publish(e) would send to the channel, and listen(Class) would simply call filterIsInstance on the flowasad.awadia
09/02/2019, 12:32 AMoctylFractal
09/02/2019, 12:32 AMcollect?asad.awadia
09/02/2019, 12:33 AMoctylFractal
09/02/2019, 12:34 AMnecati
09/02/2019, 12:34 AMrunBlocking partoctylFractal
09/02/2019, 12:35 AMsend should be suspendoctylFractal
09/02/2019, 12:36 AMrunblocking at that location, or add a blocking variant that uses sendBlockingoctylFractal
09/02/2019, 12:37 AMasFlow() return value, rather than making a new one each time, though I don't think there's a huge differencenecati
09/02/2019, 12:38 AMsend in a coroutine. i want to call it from adapters etcoctylFractal
09/02/2019, 12:39 AMsendBlocking only thennecati
09/02/2019, 12:44 AM