timdp/swirly

Redefine frame value inside operator

demensky opened this issue · 2 comments

---1-----------3----5--------------|

> mergeMap((x) => `y---y---y-|`)
y := x*2

   a---a---a-|
   a := 10

               b---b---b-|
               b := 30

                     c---c---c-|
                     c := 50

---a---a---a---b---b-c-b-c---c-----|
a := 10
b := 30
c := 50

Actual behavior

Expected behavior

timdp commented

Good idea! Thanks for the clear example as well.

I've added this as of v0.20.0. Feel free to reopen if it's not working as intended.

Thank you very much! I am trying to move rxjs marble to SVG.