File tree Expand file tree Collapse file tree 3 files changed +18
-5
lines changed Expand file tree Collapse file tree 3 files changed +18
-5
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog #
2
2
3
- ## Version 2021.06-03-0 ##
3
+ ## Version 2021.07.05-1 ##
4
+
5
+ - Fix bug on ` delay-emit ` operator.
6
+ - Minor change on ` concat-reduce ` operator.
7
+
8
+ ## Version 2021.07.05-0 ##
9
+
10
+ - Add ` flatten ` operator.
11
+ - Add ` delay-emit ` operator.
12
+ - Add ` skip-last ` operator.
13
+ - Add ` concat-reduce ` operator.
14
+
15
+
16
+ ## Version 2021.06.03-0 ##
4
17
5
18
BREAKING CHANGES: ` zip ` no longer accepts acoomulator function.
6
19
Original file line number Diff line number Diff line change 4
4
<groupId >funcool</groupId >
5
5
<artifactId >beicon</artifactId >
6
6
<packaging >jar</packaging >
7
- <version >2021.06.03-0 </version >
7
+ <version >2021.07.05-1 </version >
8
8
<name >beicon</name >
9
9
<description >Reactive Streams for Clojure(Script)</description >
10
10
<url >https://github.com/funcool/beicon</url >
Original file line number Diff line number Diff line change 711
711
(defn delay-emit
712
712
" Time shift the observable but also increase the relative time between emisions."
713
713
[ms ob]
714
- (pipe ob ( mapcat #(delay ms (of %))) ))
714
+ (mapcat #(delay ms (of %)) ob ))
715
715
716
716
(defn delay-when
717
717
" Time shifts the observable sequence based on a subscription
744
744
value for the next step in the reduce the last valued emited by the stream
745
745
in the function."
746
746
[f seed ob]
747
- (let [current-acc (atom seed)]
747
+ (let [current-acc (volatile! seed)]
748
748
(->> (concat
749
749
(of seed)
750
750
(->> ob
751
751
(mapcat #(f @current-acc %))
752
- (tap #(reset ! current-acc %))))
752
+ (tap #(vreset ! current-acc %))))
753
753
(last ))))
754
754
755
755
; ; --- Schedulers
You can’t perform that action at this time.
0 commit comments