minamorl / rex

Observable pattern in nim
23 stars 1 forks source link

Add versions of combineLatest with 3 (maybe also 4?) observables #15

Open PhilippMDoerner opened 6 months ago

PhilippMDoerner commented 6 months ago

Basically take the existing combineLatest proc and add at least a version for combining 3 observables, maybe even 4.

The main reason I didn't do it before was that I was already in the throws of the larger rewrite and combineLatest already isn't particularly the shortest operator. A version with more observables is going to require more very similar looking code.