groostav
02/21/2017, 6:30 PMCountingValidatorFactory and commented: elizarov: I didn't end up using channels because I wasn't sure how they could make this code any clearer. To use a channel I'd need some kind of multi-casting behaviour on its poll methods and some kind of dynamically sized buffer (an equivalent of LinkedBlockingQueue?)
if anyone can replace my usage of the rather low level suspendCancellableCoroutine and manual calls to Coroutine.resume, I'd love to hear them