final AtomicInteger counter = new AtomicInteger(0);
increment and check for the last element being handled within the callback and then sendOK. - This is what I have at the moment. But not sure if I like that.. I am sure there is a better way and I am not aware.
--
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
You can also take a look at https://github.com/englishtown/vertx-mod-when/ and https://github.com/englishtown/when.java/ for an alternative to rx.
--
On Feb 22, 2014 10:29 PM, "Adrian Gonzalez" <adrianlui...@gmail.com> wrote:
>
> Correct, no extra threads.
That's what I was hoping to hear.
> I'm in the process of porting when.js 2.8.0 to when.java. From the outside it looks pretty much the same, but the internal implementation feels a lot cleaner to me. Plus it adds monitor/reporting support.
Sounds great. Thanks for making this available!
Frank.