Skip to content

Commit 8723e71

Browse files
committed
Set version to 2021.07.05-1.
1 parent f066916 commit 8723e71

File tree

3 files changed

+18
-5
lines changed

3 files changed

+18
-5
lines changed

CHANGES.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
11
# Changelog #
22

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 ##
417

518
BREAKING CHANGES: `zip` no longer accepts acoomulator function.
619

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<groupId>funcool</groupId>
55
<artifactId>beicon</artifactId>
66
<packaging>jar</packaging>
7-
<version>2021.06.03-0</version>
7+
<version>2021.07.05-1</version>
88
<name>beicon</name>
99
<description>Reactive Streams for Clojure(Script)</description>
1010
<url>https://github.com/funcool/beicon</url>

src/beicon/core.cljs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -711,7 +711,7 @@
711711
(defn delay-emit
712712
"Time shift the observable but also increase the relative time between emisions."
713713
[ms ob]
714-
(pipe ob (mapcat #(delay ms (of %)))))
714+
(mapcat #(delay ms (of %)) ob))
715715

716716
(defn delay-when
717717
"Time shifts the observable sequence based on a subscription
@@ -744,12 +744,12 @@
744744
value for the next step in the reduce the last valued emited by the stream
745745
in the function."
746746
[f seed ob]
747-
(let [current-acc (atom seed)]
747+
(let [current-acc (volatile! seed)]
748748
(->> (concat
749749
(of seed)
750750
(->> ob
751751
(mapcat #(f @current-acc %))
752-
(tap #(reset! current-acc %))))
752+
(tap #(vreset! current-acc %))))
753753
(last))))
754754

755755
;; --- Schedulers

0 commit comments

Comments
 (0)