These are chat archives for pozadi/kefir

4th
Jun 2015
Ulric Wilfred
@shamansir
Jun 04 2015 23:23
Hi, I have some problems with joining streams, and actually I don’t get if it is FRP of mine wrong, or it’s an issue in Kefir. http://jsfiddle.net/shaman_sir/jd25ftsf/2/
here, values are grouped by sources of them ( “first" one and “second" one), and then there’s a process stream, intended to process all the values coming through, but only (and exactly) after the start event was fired.
Ulric Wilfred
@shamansir
Jun 04 2015 23:28
also there’s a scan operator which changes everything, if it’s there — the value 10 from the second source is fired twice. if it’s not there — it is fired once.
is the reason hides in the fact .scan creates a Property?
(please sorry for using outdated methods :) )

is fired twice

it’s better to say, value 10 is passed twice to the process stream.

in this case scan has no meaning of course, but it’s just a representation of an issue I get in a real code, where scan really has sense :)
Roman Pominov
@rpominov
Jun 04 2015 23:39
Hey! I'll try and look into it tomorrow. Have to go now.
Ulric Wilfred
@shamansir
Jun 04 2015 23:39
Yeah, no problem and no rush :)