Questions tagged [rx-groovy]

RxGroovy – Reactive Extensions for the Groovy programming language – a library for composing asynchronous and event-based programs using observable sequences for the Groovy programming language.

RxGroovy – Reactive Extensions for the Groovy programming language – a library for composing asynchronous and event-based programs using observable sequences for the Groovy programming language. It can be found at https://github.com/ReactiveX/RxGroovy.

4 questions
2
votes
1 answer

Builder pattern with reactive programming

I'm attempting to use reactive programming (RxGroovy) to create objects using a builder pattern, where property values come from database queries. I'm looking first of all, for how to do it, and second of all, thoughts on whether or not it is a good…
brianmearns
  • 9,581
  • 10
  • 52
  • 79
1
vote
1 answer

How to create a Observable from a Vert.x Future?

I have a instace of io.vertx.core.Future, because I need to set multiples handlers into the same Future, according this issue https://github.com/eclipse/vert.x/issues/1920 the way to go is with Observables. But I found no way to get a Observable…
Fernando
  • 2,131
  • 3
  • 27
  • 46
0
votes
1 answer

How can I use reactive .groupBy in RxGroovy

I've got the following code in RxGroovy: Observable .just(1, 2, 3, 4, 5) .groupBy({num -> num % 2 == 0}) ... And the type of num is Observable instead of Integer. I believe the reason is that .groupBy exists in Groovy by…
Alex Kokorin
  • 459
  • 5
  • 15
0
votes
1 answer

How to obtain missing Observable information following a timeout

If I have an Observable created with ten items where three of them exceed a timeout threshold then how can I produce a final result that has all of the completed items and the items that did not complete partitioned for a complete report. The…
TeamDitto
  • 507
  • 1
  • 6
  • 18