https://kotlinlang.org logo
#coroutines
Title
# coroutines
j

jimn

12/06/2017, 6:25 PM
i like that but its not really different. slightly more terse. im doing asyncronous select hell, trying to channelize the inputs from disjunct packets to lines to headers to .. FSM progression. is there a "best" way to simply have var callback={it->....}; chan.foreach{callback(this)}
d

dave08

12/06/2017, 8:26 PM
channel.consumeEach { x ->  }
4 Views