rsocket / rsocket-cli

Command-line client for ReactiveSocket
Apache License 2.0
71 stars 22 forks source link

Output Out of Order #62

Closed nebhale closed 6 years ago

nebhale commented 6 years ago

Previously, when output was printed it was output inside of a .flatMap() invocation. Because flatMap can be parallelized and handled out of order, there was no guarantee that the output would be printed in the order it was received. This change updates that call to print the output in .concatMap() which guarantees a consistent ordering.