@thi.ng/rstream 7.2.27 → 7.2.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +131 -131
- package/README.md +35 -35
- package/package.json +14 -14
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
- **Last updated**: 2022-
|
|
3
|
+
- **Last updated**: 2022-11-23T22:46:54Z
|
|
4
4
|
- **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
|
|
5
5
|
|
|
6
6
|
All notable changes to this project will be documented in this file.
|
|
@@ -35,14 +35,14 @@ and/or version bumps of transitive dependencies.
|
|
|
35
35
|
|
|
36
36
|
#### 🚀 Features
|
|
37
37
|
|
|
38
|
+
- add fromNodeJS/linesFromNodeJS() ([d56026d](https://github.com/thi-ng/umbrella/commit/d56026d))
|
|
39
|
+
- add NodeJS stream adapter bridges
|
|
40
|
+
- update readme
|
|
38
41
|
- Using workspaces for local tools ([bf7a404](https://github.com/thi-ng/umbrella/commit/bf7a404))
|
|
39
42
|
Improving the overall build ergonomics
|
|
40
43
|
- introduced a tools workspaces
|
|
41
44
|
- imported it in all needed packages/examples
|
|
42
45
|
- inclusive project root
|
|
43
|
-
- add fromNodeJS/linesFromNodeJS() ([d56026d](https://github.com/thi-ng/umbrella/commit/d56026d))
|
|
44
|
-
- add NodeJS stream adapter bridges
|
|
45
|
-
- update readme
|
|
46
46
|
|
|
47
47
|
#### ♻️ Refactoring
|
|
48
48
|
|
|
@@ -63,9 +63,9 @@ and/or version bumps of transitive dependencies.
|
|
|
63
63
|
|
|
64
64
|
#### ♻️ Refactoring
|
|
65
65
|
|
|
66
|
-
- update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
|
|
67
66
|
- update imports in all pkgs ([5fa2b6f](https://github.com/thi-ng/umbrella/commit/5fa2b6f))
|
|
68
67
|
- add .js suffix for all relative imports
|
|
68
|
+
- update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
|
|
69
69
|
|
|
70
70
|
# [7.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@7.0.0) (2021-10-12)
|
|
71
71
|
|
|
@@ -86,22 +86,22 @@ and/or version bumps of transitive dependencies.
|
|
|
86
86
|
|
|
87
87
|
#### ♻️ Refactoring
|
|
88
88
|
|
|
89
|
-
-
|
|
90
|
-
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
- rename internal helpers (__nextID, __optsWithID, defWorker, ...)
|
|
94
|
-
- update imports
|
|
89
|
+
- update all tests in _all_ pkgs ([8b582bc](https://github.com/thi-ng/umbrella/commit/8b582bc))
|
|
90
|
+
- update all to use [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament)
|
|
91
|
+
- update imports ([138571a](https://github.com/thi-ng/umbrella/commit/138571a))
|
|
92
|
+
- update imports (transducers) ([7fc60cd](https://github.com/thi-ng/umbrella/commit/7fc60cd))
|
|
95
93
|
- update deps & imports in various pkgs ([e1cf29e](https://github.com/thi-ng/umbrella/commit/e1cf29e))
|
|
96
94
|
- largely related to recent updates/restructuring of these packages:
|
|
97
95
|
- api
|
|
98
96
|
- defmulti
|
|
99
97
|
- errors
|
|
100
98
|
- logger
|
|
101
|
-
-
|
|
102
|
-
-
|
|
103
|
-
-
|
|
104
|
-
-
|
|
99
|
+
- major pkg restructure ([831c113](https://github.com/thi-ng/umbrella/commit/831c113))
|
|
100
|
+
- flatten /src folder for easier imports in userland
|
|
101
|
+
- move logging from api.ts => logger.ts
|
|
102
|
+
- rename internal helpers (__nextID, __optsWithID, defWorker, ...)
|
|
103
|
+
- update imports
|
|
104
|
+
- dedupe removeAllIDs() impls ([57e57cc](https://github.com/thi-ng/umbrella/commit/57e57cc))
|
|
105
105
|
|
|
106
106
|
### [6.0.14](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@6.0.14) (2021-08-08)
|
|
107
107
|
|
|
@@ -114,23 +114,6 @@ and/or version bumps of transitive dependencies.
|
|
|
114
114
|
|
|
115
115
|
#### 🛑 Breaking changes
|
|
116
116
|
|
|
117
|
-
- further simplify ISubscribable & impls ([9e290fe](https://github.com/thi-ng/umbrella/commit/9e290fe))
|
|
118
|
-
- BREAKING CHANGE: remove `.subscribe(sub, xform, opts)` signature.
|
|
119
|
-
Transducer now supplied via `xform` key in `opts` (or use `.transform()`
|
|
120
|
-
instead of `.subscribe()`)
|
|
121
|
-
- further simplify `Subscription.subscribe()` / `.transform()`
|
|
122
|
-
- update Subscription ctor args
|
|
123
|
-
- make `.subscribe()` child subs partial again
|
|
124
|
-
- remove temporary & obsolete again `DUMMY` subscriber
|
|
125
|
-
- add docs
|
|
126
|
-
- update tests
|
|
127
|
-
- add PubSub.transformTopic() ([123e15d](https://github.com/thi-ng/umbrella/commit/123e15d))
|
|
128
|
-
- BREAKING CHANGE: replace transducer only version of
|
|
129
|
-
`PubSub.subscribeTopic()` with new `.transformTopic()`.
|
|
130
|
-
Similarly to [22c6f7cb2](https://github.com/thi-ng/umbrella/commit/22c6f7cb2), `.subscribeTopic()` subs also need to
|
|
131
|
-
provide at least a `next` key (for typechecking only)
|
|
132
|
-
- add .transformTopic() w/ opt error handling support
|
|
133
|
-
- TODO multi-transducer overrides for .transformTopic()
|
|
134
117
|
- add .transform() error handler opt ([#276](https://github.com/thi-ng/umbrella/issues/276)) ([22c6f7c](https://github.com/thi-ng/umbrella/commit/22c6f7c))
|
|
135
118
|
- BREAKING CHANGE: update ISubscribable contract, remove transducer
|
|
136
119
|
only version of `.subscribe()`, MUST provide dummy sub w/ transducer
|
|
@@ -144,21 +127,57 @@ and/or version bumps of transitive dependencies.
|
|
|
144
127
|
- simplify internal `.subscribe()` logic
|
|
145
128
|
- add `WithErrorHandlerOpts` interface
|
|
146
129
|
- update `.transform()` & `.map()`: add error handling support
|
|
130
|
+
- add PubSub.transformTopic() ([123e15d](https://github.com/thi-ng/umbrella/commit/123e15d))
|
|
131
|
+
- BREAKING CHANGE: replace transducer only version of
|
|
132
|
+
`PubSub.subscribeTopic()` with new `.transformTopic()`.
|
|
133
|
+
Similarly to [22c6f7cb2](https://github.com/thi-ng/umbrella/commit/22c6f7cb2), `.subscribeTopic()` subs also need to
|
|
134
|
+
provide at least a `next` key (for typechecking only)
|
|
135
|
+
- add .transformTopic() w/ opt error handling support
|
|
136
|
+
- TODO multi-transducer overrides for .transformTopic()
|
|
137
|
+
- further simplify ISubscribable & impls ([9e290fe](https://github.com/thi-ng/umbrella/commit/9e290fe))
|
|
138
|
+
- BREAKING CHANGE: remove `.subscribe(sub, xform, opts)` signature.
|
|
139
|
+
Transducer now supplied via `xform` key in `opts` (or use `.transform()`
|
|
140
|
+
instead of `.subscribe()`)
|
|
141
|
+
- further simplify `Subscription.subscribe()` / `.transform()`
|
|
142
|
+
- update Subscription ctor args
|
|
143
|
+
- make `.subscribe()` child subs partial again
|
|
144
|
+
- remove temporary & obsolete again `DUMMY` subscriber
|
|
145
|
+
- add docs
|
|
146
|
+
- update tests
|
|
147
147
|
|
|
148
148
|
#### 🚀 Features
|
|
149
149
|
|
|
150
|
-
-
|
|
151
|
-
-
|
|
152
|
-
|
|
153
|
-
-
|
|
154
|
-
|
|
155
|
-
-
|
|
156
|
-
|
|
157
|
-
- add
|
|
158
|
-
- update
|
|
159
|
-
|
|
160
|
-
-
|
|
150
|
+
- log error to console ([594d806](https://github.com/thi-ng/umbrella/commit/594d806))
|
|
151
|
+
- update Subscription.error() and ensure error is at least written to
|
|
152
|
+
console, even if the default `NULL_LOGGER` is used
|
|
153
|
+
- addresses [#125](https://github.com/thi-ng/umbrella/issues/125), [#276](https://github.com/thi-ng/umbrella/issues/276)
|
|
154
|
+
- update ITransformable.transform() ([fe0eaa9](https://github.com/thi-ng/umbrella/commit/fe0eaa9))
|
|
155
|
+
- add new `transform()` override to supply transducer as part of options arg
|
|
156
|
+
- update/fix opts arg type in other `transform()` versions
|
|
157
|
+
- add `WithTransform`, `WithErrorHandler` interfaces
|
|
158
|
+
- update `TransformableOpts`, `WithErrorHandlerOpts`
|
|
159
|
+
- add generic type for PubSub topics ([08adc5f](https://github.com/thi-ng/umbrella/commit/08adc5f))
|
|
160
|
+
- update PubSub, PubSubOpts w/ new generic for topic types (default: any)
|
|
161
|
+
- add ISubscription interface ([98edee0](https://github.com/thi-ng/umbrella/commit/98edee0))
|
|
162
|
+
- replaces obsolete `ISubscribableSubscriber`
|
|
163
|
+
- update PubSub ([fa87168](https://github.com/thi-ng/umbrella/commit/fa87168))
|
|
164
|
+
- update PubSub generics
|
|
165
|
+
- update .subscribeTopic() opts to use `TransformableOpts`
|
|
166
|
+
- add sidechainPartitionRAF() ([a101626](https://github.com/thi-ng/umbrella/commit/a101626))
|
|
167
|
+
- update error handler sig ([#281](https://github.com/thi-ng/umbrella/issues/281)) ([015380a](https://github.com/thi-ng/umbrella/commit/015380a))
|
|
168
|
+
- add `ErrorHandler` type, update to return boolean
|
|
169
|
+
- update `ISubscribable`, `ITransformable` to only refer to `ISubscription`
|
|
170
|
+
interface (rather than `Subscription` class itself)
|
|
171
|
+
- refactor `Subscription.next()`, add `.dispatchXform()`
|
|
172
|
+
- update various error handlers (add return values)
|
|
161
173
|
- update tests
|
|
174
|
+
- add Sub2 WIP impl ([de4149b](https://github.com/thi-ng/umbrella/commit/de4149b))
|
|
175
|
+
- update Sub2, State enum ([db0ab34](https://github.com/thi-ng/umbrella/commit/db0ab34))
|
|
176
|
+
- add State.UNSUBSCRIBED
|
|
177
|
+
- add missing Sub2.done() handling
|
|
178
|
+
- add Sub2.map()
|
|
179
|
+
- refactor Sub2 value/phase dispatch logic
|
|
180
|
+
- add logging
|
|
162
181
|
- [#281](https://github.com/thi-ng/umbrella/issues/281) update Subscription error/teardown logic ([a9e4040](https://github.com/thi-ng/umbrella/commit/a9e4040))
|
|
163
182
|
- replace old `Subscription` class w/ what was recently `Sub2` (removed)
|
|
164
183
|
- update/fix done(), subscribe()/unsubscribe() logic
|
|
@@ -166,46 +185,27 @@ and/or version bumps of transitive dependencies.
|
|
|
166
185
|
- update Stream ctor (and factory fns) to support error handler opts arg
|
|
167
186
|
- update Timeout error dispatch
|
|
168
187
|
- fix typehints
|
|
169
|
-
- update
|
|
170
|
-
-
|
|
171
|
-
-
|
|
172
|
-
- add Sub2.map()
|
|
173
|
-
- refactor Sub2 value/phase dispatch logic
|
|
174
|
-
- add logging
|
|
175
|
-
- add Sub2 WIP impl ([de4149b](https://github.com/thi-ng/umbrella/commit/de4149b))
|
|
176
|
-
- update error handler sig ([#281](https://github.com/thi-ng/umbrella/issues/281)) ([015380a](https://github.com/thi-ng/umbrella/commit/015380a))
|
|
177
|
-
- add `ErrorHandler` type, update to return boolean
|
|
178
|
-
- update `ISubscribable`, `ITransformable` to only refer to `ISubscription`
|
|
179
|
-
interface (rather than `Subscription` class itself)
|
|
180
|
-
- refactor `Subscription.next()`, add `.dispatchXform()`
|
|
181
|
-
- update various error handlers (add return values)
|
|
188
|
+
- update DONE state & teardown logic ([a8a8c44](https://github.com/thi-ng/umbrella/commit/a8a8c44))
|
|
189
|
+
- DONE state now only valid during depth-first stage of .done()
|
|
190
|
+
- state switches to UNSUBSCRIBED during recursive teardown (unless ERROR)
|
|
182
191
|
- update tests
|
|
183
|
-
- add
|
|
184
|
-
- update
|
|
185
|
-
- update
|
|
186
|
-
|
|
187
|
-
- add
|
|
188
|
-
|
|
189
|
-
- add
|
|
190
|
-
-
|
|
191
|
-
- update ITransformable.transform() ([fe0eaa9](https://github.com/thi-ng/umbrella/commit/fe0eaa9))
|
|
192
|
-
- add new `transform()` override to supply transducer as part of options arg
|
|
193
|
-
- update/fix opts arg type in other `transform()` versions
|
|
194
|
-
- add `WithTransform`, `WithErrorHandler` interfaces
|
|
195
|
-
- update `TransformableOpts`, `WithErrorHandlerOpts`
|
|
196
|
-
- log error to console ([594d806](https://github.com/thi-ng/umbrella/commit/594d806))
|
|
197
|
-
- update Subscription.error() and ensure error is at least written to
|
|
198
|
-
console, even if the default `NULL_LOGGER` is used
|
|
199
|
-
- addresses [#125](https://github.com/thi-ng/umbrella/issues/125), [#276](https://github.com/thi-ng/umbrella/issues/276)
|
|
192
|
+
- add StreamSource error handling ([73023b6](https://github.com/thi-ng/umbrella/commit/73023b6))
|
|
193
|
+
- update stream() opts arg type
|
|
194
|
+
- update Stream.subscribe() to use opt error handler to deal w/ errors
|
|
195
|
+
during execution of stream source function
|
|
196
|
+
- add test
|
|
197
|
+
- update Subscription FSM, add/update tests ([ea1d0c1](https://github.com/thi-ng/umbrella/commit/ea1d0c1))
|
|
198
|
+
- add state check in .subscribe()
|
|
199
|
+
- set both parent & child sub to ACTIVE
|
|
200
200
|
|
|
201
201
|
#### 🩹 Bug fixes
|
|
202
202
|
|
|
203
|
-
- update
|
|
203
|
+
- minor update/revert sub ctor args ([c651421](https://github.com/thi-ng/umbrella/commit/c651421))
|
|
204
|
+
- fix wrong imports ([ae4866a](https://github.com/thi-ng/umbrella/commit/ae4866a))
|
|
204
205
|
- PubSub dispatch & error handling ([cca0f34](https://github.com/thi-ng/umbrella/commit/cca0f34))
|
|
205
206
|
- store last received value (if caching enabled)
|
|
206
207
|
- update error handler logic
|
|
207
|
-
-
|
|
208
|
-
- minor update/revert sub ctor args ([c651421](https://github.com/thi-ng/umbrella/commit/c651421))
|
|
208
|
+
- update failing tests ([ae591a1](https://github.com/thi-ng/umbrella/commit/ae591a1))
|
|
209
209
|
|
|
210
210
|
#### ⏱ Performance improvements
|
|
211
211
|
|
|
@@ -235,8 +235,8 @@ and/or version bumps of transitive dependencies.
|
|
|
235
235
|
|
|
236
236
|
#### ♻️ Refactoring
|
|
237
237
|
|
|
238
|
-
- update type-only imports ([cdf5d62](https://github.com/thi-ng/umbrella/commit/cdf5d62))
|
|
239
238
|
- update type-only imports in various tests/pkgs ([3fd9c24](https://github.com/thi-ng/umbrella/commit/3fd9c24))
|
|
239
|
+
- update type-only imports ([cdf5d62](https://github.com/thi-ng/umbrella/commit/cdf5d62))
|
|
240
240
|
|
|
241
241
|
### [5.0.5](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@5.0.5) (2020-09-22)
|
|
242
242
|
|
|
@@ -279,10 +279,10 @@ and/or version bumps of transitive dependencies.
|
|
|
279
279
|
|
|
280
280
|
#### ♻️ Refactoring
|
|
281
281
|
|
|
282
|
-
- update StreamMerge method args ([da648af](https://github.com/thi-ng/umbrella/commit/da648af))
|
|
283
|
-
- update StreamSync generics & args ([0a182b0](https://github.com/thi-ng/umbrella/commit/0a182b0))
|
|
284
|
-
- update forkJoin() & tween() impls (StreamSync) ([08ca3e1](https://github.com/thi-ng/umbrella/commit/08ca3e1))
|
|
285
282
|
- add opts arg for trigger() ([32340f0](https://github.com/thi-ng/umbrella/commit/32340f0))
|
|
283
|
+
- update forkJoin() & tween() impls (StreamSync) ([08ca3e1](https://github.com/thi-ng/umbrella/commit/08ca3e1))
|
|
284
|
+
- update StreamSync generics & args ([0a182b0](https://github.com/thi-ng/umbrella/commit/0a182b0))
|
|
285
|
+
- update StreamMerge method args ([da648af](https://github.com/thi-ng/umbrella/commit/da648af))
|
|
286
286
|
|
|
287
287
|
## [4.6.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@4.6.0) (2020-07-08)
|
|
288
288
|
|
|
@@ -300,11 +300,11 @@ and/or version bumps of transitive dependencies.
|
|
|
300
300
|
|
|
301
301
|
#### 🚀 Features
|
|
302
302
|
|
|
303
|
-
- add debounce() sub & tests ([9c53bb4](https://github.com/thi-ng/umbrella/commit/9c53bb4))
|
|
304
|
-
- add emitLast metastream option ([1073735](https://github.com/thi-ng/umbrella/commit/1073735))
|
|
305
303
|
- add error handling for transducer phase ([609424e](https://github.com/thi-ng/umbrella/commit/609424e))
|
|
306
304
|
- update Subscription.next()
|
|
307
305
|
- update transduce()
|
|
306
|
+
- add emitLast metastream option ([1073735](https://github.com/thi-ng/umbrella/commit/1073735))
|
|
307
|
+
- add debounce() sub & tests ([9c53bb4](https://github.com/thi-ng/umbrella/commit/9c53bb4))
|
|
308
308
|
|
|
309
309
|
### [4.3.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@4.3.1) (2020-05-16)
|
|
310
310
|
|
|
@@ -325,8 +325,8 @@ and/or version bumps of transitive dependencies.
|
|
|
325
325
|
|
|
326
326
|
#### 🚀 Features
|
|
327
327
|
|
|
328
|
-
- update fromObject(), add StreamObjOpts, update docs ([f3ca3b6](https://github.com/thi-ng/umbrella/commit/f3ca3b6))
|
|
329
328
|
- add fromObject(), add docs & tests ([5e854eb](https://github.com/thi-ng/umbrella/commit/5e854eb))
|
|
329
|
+
- update fromObject(), add StreamObjOpts, update docs ([f3ca3b6](https://github.com/thi-ng/umbrella/commit/f3ca3b6))
|
|
330
330
|
|
|
331
331
|
## [4.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@4.1.0) (2020-05-14)
|
|
332
332
|
|
|
@@ -391,24 +391,22 @@ and/or version bumps of transitive dependencies.
|
|
|
391
391
|
|
|
392
392
|
#### ♻️ Refactoring
|
|
393
393
|
|
|
394
|
-
- update fromView value type inference ([ba20557](https://github.com/thi-ng/umbrella/commit/ba20557))
|
|
395
394
|
- update fromView() & options ([7565448](https://github.com/thi-ng/umbrella/commit/7565448))
|
|
395
|
+
- update fromView value type inference ([ba20557](https://github.com/thi-ng/umbrella/commit/ba20557))
|
|
396
396
|
|
|
397
397
|
### [3.0.3](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@3.0.3) (2020-02-25)
|
|
398
398
|
|
|
399
399
|
#### ♻️ Refactoring
|
|
400
400
|
|
|
401
|
-
- update imports ([d529e86](https://github.com/thi-ng/umbrella/commit/d529e86))
|
|
402
401
|
- fix [#201](https://github.com/thi-ng/umbrella/issues/201), extract ASidechain ([b88fa04](https://github.com/thi-ng/umbrella/commit/b88fa04))
|
|
403
402
|
- extract abstract ASidechain base class
|
|
404
403
|
- update SidechainPartition/Toggle classes
|
|
404
|
+
- update imports ([d529e86](https://github.com/thi-ng/umbrella/commit/d529e86))
|
|
405
405
|
|
|
406
406
|
# [3.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@3.0.0) (2019-11-30)
|
|
407
407
|
|
|
408
408
|
#### 🛑 Breaking changes
|
|
409
409
|
|
|
410
|
-
- update readme ([4ecdbf9](https://github.com/thi-ng/umbrella/commit/4ecdbf9))
|
|
411
|
-
- BREAKING CHANGE: document new stream/sub config opts in readme
|
|
412
410
|
- update args for various fromXXX() stream factories ([b466ebc](https://github.com/thi-ng/umbrella/commit/b466ebc))
|
|
413
411
|
- add types for options objects
|
|
414
412
|
- update tests
|
|
@@ -418,13 +416,15 @@ and/or version bumps of transitive dependencies.
|
|
|
418
416
|
- fromIterable
|
|
419
417
|
- fromView
|
|
420
418
|
- fromWorker
|
|
419
|
+
- update readme ([4ecdbf9](https://github.com/thi-ng/umbrella/commit/4ecdbf9))
|
|
420
|
+
- BREAKING CHANGE: document new stream/sub config opts in readme
|
|
421
421
|
|
|
422
422
|
#### 🚀 Features
|
|
423
423
|
|
|
424
|
-
- add CommonOpts support for ISubscribable & ITransformable ([0a70b90](https://github.com/thi-ng/umbrella/commit/0a70b90))
|
|
425
424
|
- update sidechainPartition/Toggle and timeout ([898eb53](https://github.com/thi-ng/umbrella/commit/898eb53))
|
|
426
425
|
- use options objects for args
|
|
427
426
|
- update tests
|
|
427
|
+
- add CommonOpts support for ISubscribable & ITransformable ([0a70b90](https://github.com/thi-ng/umbrella/commit/0a70b90))
|
|
428
428
|
|
|
429
429
|
#### ♻️ Refactoring
|
|
430
430
|
|
|
@@ -434,16 +434,16 @@ and/or version bumps of transitive dependencies.
|
|
|
434
434
|
|
|
435
435
|
#### 🚀 Features
|
|
436
436
|
|
|
437
|
+
- add ITransformable interface, minor updates ([da52b98](https://github.com/thi-ng/umbrella/commit/da52b98))
|
|
438
|
+
- add forkJoin() parallel worker processing ([da03722](https://github.com/thi-ng/umbrella/commit/da03722))
|
|
439
|
+
- add back pressure opts to StreamSyncOpts & ForkJoinOpts ([e236987](https://github.com/thi-ng/umbrella/commit/e236987))
|
|
440
|
+
- add forkBuffer/joinBuffer HOFs, add docs ([a35c8e8](https://github.com/thi-ng/umbrella/commit/a35c8e8))
|
|
441
|
+
- add/update fork/joinBuffer generics, optimize ([8f0c55c](https://github.com/thi-ng/umbrella/commit/8f0c55c))
|
|
442
|
+
- add Subscription.done() error handling ([c911006](https://github.com/thi-ng/umbrella/commit/c911006))
|
|
437
443
|
- update Stream cancel & reset behavior for CloseMode.NEVER ([250dfe1](https://github.com/thi-ng/umbrella/commit/250dfe1))
|
|
438
444
|
- don't call cancel() if `closeOut` is CloseMODE.NEVER
|
|
439
445
|
- only initialize stream once and don't re-init on 1st re-sub after
|
|
440
446
|
all other subs have left
|
|
441
|
-
- add Subscription.done() error handling ([c911006](https://github.com/thi-ng/umbrella/commit/c911006))
|
|
442
|
-
- add/update fork/joinBuffer generics, optimize ([8f0c55c](https://github.com/thi-ng/umbrella/commit/8f0c55c))
|
|
443
|
-
- add forkBuffer/joinBuffer HOFs, add docs ([a35c8e8](https://github.com/thi-ng/umbrella/commit/a35c8e8))
|
|
444
|
-
- add back pressure opts to StreamSyncOpts & ForkJoinOpts ([e236987](https://github.com/thi-ng/umbrella/commit/e236987))
|
|
445
|
-
- add forkJoin() parallel worker processing ([da03722](https://github.com/thi-ng/umbrella/commit/da03722))
|
|
446
|
-
- add ITransformable interface, minor updates ([da52b98](https://github.com/thi-ng/umbrella/commit/da52b98))
|
|
447
447
|
|
|
448
448
|
#### 🩹 Bug fixes
|
|
449
449
|
|
|
@@ -482,13 +482,13 @@ and/or version bumps of transitive dependencies.
|
|
|
482
482
|
|
|
483
483
|
#### 🚀 Features
|
|
484
484
|
|
|
485
|
-
- add fromDOMEvent() ([6e3fec8](https://github.com/thi-ng/umbrella/commit/6e3fec8))
|
|
486
485
|
- enable TS strict compiler flags (refactor) ([d796e21](https://github.com/thi-ng/umbrella/commit/d796e21))
|
|
486
|
+
- add fromDOMEvent() ([6e3fec8](https://github.com/thi-ng/umbrella/commit/6e3fec8))
|
|
487
487
|
|
|
488
488
|
#### 🩹 Bug fixes
|
|
489
489
|
|
|
490
|
-
- generics & type hints (TS 3.5.2) ([eb2e18a](https://github.com/thi-ng/umbrella/commit/eb2e18a))
|
|
491
490
|
- TS strictNullChecks, add assertions ([1aad856](https://github.com/thi-ng/umbrella/commit/1aad856))
|
|
491
|
+
- generics & type hints (TS 3.5.2) ([eb2e18a](https://github.com/thi-ng/umbrella/commit/eb2e18a))
|
|
492
492
|
|
|
493
493
|
### [2.4.2](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@2.4.2) (2019-04-24)
|
|
494
494
|
|
|
@@ -539,8 +539,8 @@ and/or version bumps of transitive dependencies.
|
|
|
539
539
|
|
|
540
540
|
#### 🚀 Features
|
|
541
541
|
|
|
542
|
-
- add tween() stream operator ([c74a2d0](https://github.com/thi-ng/umbrella/commit/c74a2d0))
|
|
543
542
|
- add CloseMode enum, update StreamMerge, StreamSync & opts ([f0d53b4](https://github.com/thi-ng/umbrella/commit/f0d53b4))
|
|
543
|
+
- add tween() stream operator ([c74a2d0](https://github.com/thi-ng/umbrella/commit/c74a2d0))
|
|
544
544
|
|
|
545
545
|
#### 🩹 Bug fixes
|
|
546
546
|
|
|
@@ -566,23 +566,23 @@ and/or version bumps of transitive dependencies.
|
|
|
566
566
|
|
|
567
567
|
#### 🩹 Bug fixes
|
|
568
568
|
|
|
569
|
-
- disable __State reverse enum lookups ([b238a3a](https://github.com/thi-ng/umbrella/commit/b238a3a))
|
|
570
569
|
- avoid Subscription ctor to workaround parceljs build issue ([d1e275b](https://github.com/thi-ng/umbrella/commit/d1e275b))
|
|
571
570
|
- use `subscription()` factory instead of `new Subscription`
|
|
572
571
|
- solves issue w/ parcel's scope hoisting build flag
|
|
572
|
+
- disable __State reverse enum lookups ([b238a3a](https://github.com/thi-ng/umbrella/commit/b238a3a))
|
|
573
573
|
|
|
574
574
|
#### ♻️ Refactoring
|
|
575
575
|
|
|
576
|
-
- replace Subscription.NEXT_ID w/ nextID() util ([e201ca8](https://github.com/thi-ng/umbrella/commit/e201ca8))
|
|
577
576
|
- use arrow fns, update formatting ([6c3ea08](https://github.com/thi-ng/umbrella/commit/6c3ea08))
|
|
577
|
+
- replace Subscription.NEXT_ID w/ nextID() util ([e201ca8](https://github.com/thi-ng/umbrella/commit/e201ca8))
|
|
578
578
|
|
|
579
579
|
## [1.14.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@1.14.0) (2018-11-24)
|
|
580
580
|
|
|
581
581
|
#### 🚀 Features
|
|
582
582
|
|
|
583
|
-
- add support multiple workers in Tunnel & TunnelOpts ([67a5b10](https://github.com/thi-ng/umbrella/commit/67a5b10))
|
|
584
|
-
- add StreamSync.getSources() / getSourceForID() ([ef0fe42](https://github.com/thi-ng/umbrella/commit/ef0fe42))
|
|
585
583
|
- add worker tunnel() sub ([4750e79](https://github.com/thi-ng/umbrella/commit/4750e79))
|
|
584
|
+
- add StreamSync.getSources() / getSourceForID() ([ef0fe42](https://github.com/thi-ng/umbrella/commit/ef0fe42))
|
|
585
|
+
- add support multiple workers in Tunnel & TunnelOpts ([67a5b10](https://github.com/thi-ng/umbrella/commit/67a5b10))
|
|
586
586
|
|
|
587
587
|
#### 🩹 Bug fixes
|
|
588
588
|
|
|
@@ -609,8 +609,8 @@ and/or version bumps of transitive dependencies.
|
|
|
609
609
|
|
|
610
610
|
#### 🚀 Features
|
|
611
611
|
|
|
612
|
-
- add trigger() generics ([288b68d](https://github.com/thi-ng/umbrella/commit/288b68d))
|
|
613
612
|
- add trigger() utility stream ([929c6f4](https://github.com/thi-ng/umbrella/commit/929c6f4))
|
|
613
|
+
- add trigger() generics ([288b68d](https://github.com/thi-ng/umbrella/commit/288b68d))
|
|
614
614
|
|
|
615
615
|
#### ♻️ Refactoring
|
|
616
616
|
|
|
@@ -633,9 +633,9 @@ and/or version bumps of transitive dependencies.
|
|
|
633
633
|
|
|
634
634
|
#### ♻️ Refactoring
|
|
635
635
|
|
|
636
|
-
- use SEMAPHORE from [@thi.ng/api](https://github.com/thi-ng/umbrella/tree/main/packages/api), not transducers ([f3d4646](https://github.com/thi-ng/umbrella/commit/f3d4646))
|
|
637
636
|
- update StreamSync transducer init ([cd5c6ff](https://github.com/thi-ng/umbrella/commit/cd5c6ff))
|
|
638
637
|
- fix regression caused by breaking changes in [@thi.ng/transducers](https://github.com/thi-ng/umbrella/tree/main/packages/transducers)
|
|
638
|
+
- use SEMAPHORE from [@thi.ng/api](https://github.com/thi-ng/umbrella/tree/main/packages/api), not transducers ([f3d4646](https://github.com/thi-ng/umbrella/commit/f3d4646))
|
|
639
639
|
|
|
640
640
|
### [1.11.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@1.11.1) (2018-08-06)
|
|
641
641
|
|
|
@@ -647,8 +647,8 @@ and/or version bumps of transitive dependencies.
|
|
|
647
647
|
|
|
648
648
|
#### 🚀 Features
|
|
649
649
|
|
|
650
|
-
- add stream() & subscription() factories, add/update docs ([e97aac0](https://github.com/thi-ng/umbrella/commit/e97aac0))
|
|
651
650
|
- update StreamSync to use `reset: false` by default, update docs ([55499cc](https://github.com/thi-ng/umbrella/commit/55499cc))
|
|
651
|
+
- add stream() & subscription() factories, add/update docs ([e97aac0](https://github.com/thi-ng/umbrella/commit/e97aac0))
|
|
652
652
|
|
|
653
653
|
### [1.10.3](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@1.10.3) (2018-08-01)
|
|
654
654
|
|
|
@@ -713,13 +713,13 @@ and/or version bumps of transitive dependencies.
|
|
|
713
713
|
|
|
714
714
|
#### 🚀 Features
|
|
715
715
|
|
|
716
|
-
- re-implement bisect() using PubSub, update tests ([846aaf9](https://github.com/thi-ng/umbrella/commit/846aaf9))
|
|
717
716
|
- update resolve(), update subscribe() overrides ([23fdd39](https://github.com/thi-ng/umbrella/commit/23fdd39))
|
|
718
717
|
- replace resolve() opt `id` arg w/ `ResolveOpts` object
|
|
719
718
|
- if `fail` option is given use as Promise failure handler instead of
|
|
720
719
|
calling `this.error()` and thereby stopping stream
|
|
721
720
|
- add new override for actual child `Subscription`s, fixes generics
|
|
722
721
|
- update `subscribe()` for Subscription, Stream, PubSub
|
|
722
|
+
- re-implement bisect() using PubSub, update tests ([846aaf9](https://github.com/thi-ng/umbrella/commit/846aaf9))
|
|
723
723
|
|
|
724
724
|
#### 🩹 Bug fixes
|
|
725
725
|
|
|
@@ -761,11 +761,11 @@ and/or version bumps of transitive dependencies.
|
|
|
761
761
|
|
|
762
762
|
#### 🚀 Features
|
|
763
763
|
|
|
764
|
+
- add PubSub, add ISubscribableSubscriber, remove cache() ([27a098d](https://github.com/thi-ng/umbrella/commit/27a098d))
|
|
764
765
|
- allow arbitrary PubSub topic vals, add [@thi.ng/associative](https://github.com/thi-ng/umbrella/tree/main/packages/associative) dep ([ba10907](https://github.com/thi-ng/umbrella/commit/ba10907))
|
|
765
766
|
- use EquivMap for storing topics
|
|
766
767
|
- add/update tests
|
|
767
768
|
- add docs
|
|
768
|
-
- add PubSub, add ISubscribableSubscriber, remove cache() ([27a098d](https://github.com/thi-ng/umbrella/commit/27a098d))
|
|
769
769
|
|
|
770
770
|
## [1.4.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@1.4.0) (2018-04-16)
|
|
771
771
|
|
|
@@ -797,22 +797,22 @@ and/or version bumps of transitive dependencies.
|
|
|
797
797
|
|
|
798
798
|
#### 🚀 Features
|
|
799
799
|
|
|
800
|
-
- add IDeref impl for Subscription ([907d599](https://github.com/thi-ng/umbrella/commit/907d599))
|
|
801
|
-
- add merge()/sync() ctor wrappers ([1fee7d5](https://github.com/thi-ng/umbrella/commit/1fee7d5))
|
|
802
|
-
- add transduce(), update re-exports ([eec56de](https://github.com/thi-ng/umbrella/commit/eec56de))
|
|
803
|
-
- Subscription stores last value and passes to new subs ([6b87bca](https://github.com/thi-ng/umbrella/commit/6b87bca))
|
|
804
|
-
- fix [#6](https://github.com/thi-ng/umbrella/issues/6) update StreamMerge to support transduced input streams ([8026409](https://github.com/thi-ng/umbrella/commit/8026409))
|
|
805
|
-
- any Subscription values (incl. Streams) sent by inputs are added
|
|
806
|
-
to the set of inputs themselves and not passed downstream
|
|
807
|
-
- add test case
|
|
808
|
-
- update Sidechain*.next(), add unsubscribe() ([d18a115](https://github.com/thi-ng/umbrella/commit/d18a115))
|
|
809
|
-
- don't throw errors in next() if state >= DONE
|
|
810
|
-
- unsub sidechain when unsubscribing SidechainPartition/Toggle itself
|
|
811
|
-
- add fromView(), update fromAtom() docs, update re-exports ([41bb385](https://github.com/thi-ng/umbrella/commit/41bb385))
|
|
812
800
|
- update Subscription.unsubscribe() ([01a751e](https://github.com/thi-ng/umbrella/commit/01a751e))
|
|
813
801
|
- switch to DONE state if unsubscribing itself from parent
|
|
814
802
|
- unsubscribe itself from parent after last child sub unsubscribed
|
|
815
803
|
(effect propagates upstream until no more parent)
|
|
804
|
+
- add fromView(), update fromAtom() docs, update re-exports ([41bb385](https://github.com/thi-ng/umbrella/commit/41bb385))
|
|
805
|
+
- update Sidechain*.next(), add unsubscribe() ([d18a115](https://github.com/thi-ng/umbrella/commit/d18a115))
|
|
806
|
+
- don't throw errors in next() if state >= DONE
|
|
807
|
+
- unsub sidechain when unsubscribing SidechainPartition/Toggle itself
|
|
808
|
+
- fix [#6](https://github.com/thi-ng/umbrella/issues/6) update StreamMerge to support transduced input streams ([8026409](https://github.com/thi-ng/umbrella/commit/8026409))
|
|
809
|
+
- any Subscription values (incl. Streams) sent by inputs are added
|
|
810
|
+
to the set of inputs themselves and not passed downstream
|
|
811
|
+
- add test case
|
|
812
|
+
- Subscription stores last value and passes to new subs ([6b87bca](https://github.com/thi-ng/umbrella/commit/6b87bca))
|
|
813
|
+
- add transduce(), update re-exports ([eec56de](https://github.com/thi-ng/umbrella/commit/eec56de))
|
|
814
|
+
- add merge()/sync() ctor wrappers ([1fee7d5](https://github.com/thi-ng/umbrella/commit/1fee7d5))
|
|
815
|
+
- add IDeref impl for Subscription ([907d599](https://github.com/thi-ng/umbrella/commit/907d599))
|
|
816
816
|
|
|
817
817
|
#### 🩹 Bug fixes
|
|
818
818
|
|
|
@@ -820,20 +820,20 @@ and/or version bumps of transitive dependencies.
|
|
|
820
820
|
|
|
821
821
|
#### ♻️ Refactoring
|
|
822
822
|
|
|
823
|
+
- simplify Subscription, update all impls ([47b6a92](https://github.com/thi-ng/umbrella/commit/47b6a92))
|
|
824
|
+
- use Set for storing child subs
|
|
825
|
+
- update Stream, StreamMerge, StreamSync
|
|
826
|
+
- only clean sources in StreamMerge/Sync.unsubscribe()
|
|
827
|
+
- update & StreamMerge/SyncOpts, minor fixes StreamSync ([ebe222c](https://github.com/thi-ng/umbrella/commit/ebe222c))
|
|
828
|
+
- only allow arrays for sources
|
|
829
|
+
- pre-add/remove source IDs in StreamSync.addAll/removeAll()
|
|
830
|
+
- update mapVals() xform to use copies
|
|
823
831
|
- simplify unsubscribe() logic ([26f15b2](https://github.com/thi-ng/umbrella/commit/26f15b2))
|
|
824
832
|
- add Subscription.cleanup()
|
|
825
833
|
- update unsub for Stream, Subscription, StreamMerge/Sync
|
|
826
834
|
- no more calling of done() as part of unsub process
|
|
827
835
|
(strictly unidirectional teardown from child -> parent)
|
|
828
836
|
- fix input unsubs for StreamMerge/Sync
|
|
829
|
-
- update & StreamMerge/SyncOpts, minor fixes StreamSync ([ebe222c](https://github.com/thi-ng/umbrella/commit/ebe222c))
|
|
830
|
-
- only allow arrays for sources
|
|
831
|
-
- pre-add/remove source IDs in StreamSync.addAll/removeAll()
|
|
832
|
-
- update mapVals() xform to use copies
|
|
833
|
-
- simplify Subscription, update all impls ([47b6a92](https://github.com/thi-ng/umbrella/commit/47b6a92))
|
|
834
|
-
- use Set for storing child subs
|
|
835
|
-
- update Stream, StreamMerge, StreamSync
|
|
836
|
-
- only clean sources in StreamMerge/Sync.unsubscribe()
|
|
837
837
|
|
|
838
838
|
### [1.0.22](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@1.0.22) (2018-03-19)
|
|
839
839
|
|
|
@@ -843,9 +843,9 @@ and/or version bumps of transitive dependencies.
|
|
|
843
843
|
|
|
844
844
|
#### ♻️ Refactoring
|
|
845
845
|
|
|
846
|
-
- simplify StreamMerge source handling ([ff802a4](https://github.com/thi-ng/umbrella/commit/ff802a4))
|
|
847
|
-
- minor cleanup/perf StreamSync ([f7029ef](https://github.com/thi-ng/umbrella/commit/f7029ef))
|
|
848
846
|
- add/update Stream ctor arities ([c736433](https://github.com/thi-ng/umbrella/commit/c736433))
|
|
847
|
+
- minor cleanup/perf StreamSync ([f7029ef](https://github.com/thi-ng/umbrella/commit/f7029ef))
|
|
848
|
+
- simplify StreamMerge source handling ([ff802a4](https://github.com/thi-ng/umbrella/commit/ff802a4))
|
|
849
849
|
|
|
850
850
|
# [1.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@1.0.0) (2018-02-18)
|
|
851
851
|
|
|
@@ -899,9 +899,9 @@ and/or version bumps of transitive dependencies.
|
|
|
899
899
|
|
|
900
900
|
#### 🚀 Features
|
|
901
901
|
|
|
902
|
-
- add atom dep, add fromAtom() & docs ([ca3994a](https://github.com/thi-ng/umbrella/commit/ca3994a))
|
|
903
|
-
- add fromPromises(), add docs ([55ba0e1](https://github.com/thi-ng/umbrella/commit/55ba0e1))
|
|
904
902
|
- add trace() error handler ([2247f72](https://github.com/thi-ng/umbrella/commit/2247f72))
|
|
903
|
+
- add fromPromises(), add docs ([55ba0e1](https://github.com/thi-ng/umbrella/commit/55ba0e1))
|
|
904
|
+
- add atom dep, add fromAtom() & docs ([ca3994a](https://github.com/thi-ng/umbrella/commit/ca3994a))
|
|
905
905
|
|
|
906
906
|
## [0.6.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@0.6.0) (2018-01-28)
|
|
907
907
|
|
|
@@ -923,8 +923,8 @@ and/or version bumps of transitive dependencies.
|
|
|
923
923
|
|
|
924
924
|
#### 🩹 Bug fixes
|
|
925
925
|
|
|
926
|
-
- don't throw resolve() error, only warning msg ([eef65b9](https://github.com/thi-ng/umbrella/commit/eef65b9))
|
|
927
926
|
- subscription generics if transducer is used ([592a242](https://github.com/thi-ng/umbrella/commit/592a242))
|
|
927
|
+
- don't throw resolve() error, only warning msg ([eef65b9](https://github.com/thi-ng/umbrella/commit/eef65b9))
|
|
928
928
|
|
|
929
929
|
### [0.2.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@0.2.1) (2018-01-24)
|
|
930
930
|
|
package/README.md
CHANGED
|
@@ -222,41 +222,41 @@ directory are using this package.
|
|
|
222
222
|
|
|
223
223
|
A selection:
|
|
224
224
|
|
|
225
|
-
| Screenshot | Description | Live demo
|
|
226
|
-
|
|
227
|
-
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/adaptive-threshold.png" width="240"/> | Interactive image processing (adaptive threshold) | [Demo](https://demo.thi.ng/umbrella/adaptive-threshold/)
|
|
228
|
-
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/big-font.png" width="240"/> | Large ASCII font text generator using @thi.ng/rdom | [Demo](https://demo.thi.ng/umbrella/big-font/)
|
|
229
|
-
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/bitmap-font.gif" width="240"/> | Figlet-style bitmap font creation with transducers | [Demo](https://demo.thi.ng/umbrella/bitmap-font/)
|
|
230
|
-
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/canvas-dial.png" width="240"/> | Canvas based dial widget | [Demo](https://demo.thi.ng/umbrella/canvas-dial/)
|
|
231
|
-
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/color-themes.png" width="240"/> | Probabilistic color theme generator | [Demo](https://demo.thi.ng/umbrella/color-themes/)
|
|
232
|
-
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/crypto-chart.png" width="240"/> | Basic crypto-currency candle chart with multiple moving averages plots | [Demo](https://demo.thi.ng/umbrella/crypto-chart/)
|
|
233
|
-
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/dominant-colors.png" width="240"/> | Color palette generation via dominant color extraction from uploaded images | [Demo](https://demo.thi.ng/umbrella/dominant-colors/)
|
|
234
|
-
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/fft-synth.png" width="240"/> | Interactive inverse FFT toy synth | [Demo](https://demo.thi.ng/umbrella/fft-synth/)
|
|
235
|
-
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/gesture-analysis.png" width="240"/> | Mouse gesture / stroke analysis, simplification, corner detection | [Demo](https://demo.thi.ng/umbrella/gesture-analysis/)
|
|
236
|
-
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/hdom-canvas-draw.jpg" width="240"/> | Interactive pattern drawing demo using transducers | [Demo](https://demo.thi.ng/umbrella/hdom-canvas-draw/)
|
|
237
|
-
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/hdom-canvas/hdom-canvas-shapes-results.png" width="240"/> | Various hdom-canvas shape drawing examples & SVG conversion / export | [Demo](https://demo.thi.ng/umbrella/hdom-canvas-shapes/)
|
|
238
|
-
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/imgui/imgui-all.png" width="240"/> | Canvas based Immediate Mode GUI components | [Demo](https://demo.thi.ng/umbrella/imgui/)
|
|
239
|
-
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/mandelbrot.jpg" width="240"/> | Worker based, interactive Mandelbrot visualization | [Demo](https://demo.thi.ng/umbrella/mandelbrot/)
|
|
240
|
-
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/markdown-parser.jpg" width="240"/> | Minimal Markdown to Hiccup to HTML parser / transformer | [Demo](https://demo.thi.ng/umbrella/markdown/)
|
|
241
|
-
| | Basic rstream-gestures multi-touch demo | [Demo](https://demo.thi.ng/umbrella/multitouch/)
|
|
242
|
-
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/parse-playground.png" width="240"/> | Parser grammar livecoding editor/playground & codegen | [Demo](https://demo.thi.ng/umbrella/parse-playground/)
|
|
243
|
-
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/pixel-sorting.png" width="240"/> | Interactive pixel sorting tool using thi.ng/color & thi.ng/pixel | [Demo](https://demo.thi.ng/umbrella/pixel-sorting/)
|
|
244
|
-
| | Demonstates various rdom usage patterns | [Demo](https://demo.thi.ng/umbrella/rdom-basics/)
|
|
245
|
-
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/rdom-delayed-update.jpg" width="240"/> | Dynamically loaded images w/ preloader state | [Demo](https://demo.thi.ng/umbrella/rdom-delayed-update/)
|
|
246
|
-
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/rdom-lissajous.png" width="240"/> | rdom & hiccup-canvas interop test | [Demo](https://demo.thi.ng/umbrella/rdom-lissajous/)
|
|
247
|
-
| | Full umbrella repo doc string search w/ paginated results | [Demo](https://demo.thi.ng/umbrella/rdom-search-docs/)
|
|
248
|
-
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/rdom-svg-nodes.png" width="240"/> | rdom powered SVG graph with draggable nodes | [Demo](https://demo.thi.ng/umbrella/rdom-svg-nodes/)
|
|
249
|
-
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/rotating-voronoi.jpg" width="240"/> | Animated Voronoi diagram, cubic splines & SVG download | [Demo](https://demo.thi.ng/umbrella/rotating-voronoi/)
|
|
250
|
-
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/rstream-event-loop.png" width="240"/> | Minimal demo of using rstream constructs to form an interceptor-style event loop | [Demo](https://demo.thi.ng/umbrella/rstream-event-loop/)
|
|
251
|
-
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/rstream-grid.jpg" width="240"/> | Interactive grid generator, SVG generation & export, undo/redo support | [Demo](https://demo.thi.ng/umbrella/rstream-grid/)
|
|
252
|
-
| | rstream based UI updates & state handling | [Demo](https://demo.thi.ng/umbrella/rstream-hdom/)
|
|
253
|
-
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/rstream-spreadsheet.png" width="240"/> | rstream based spreadsheet w/ S-expression formula DSL | [Demo](https://demo.thi.ng/umbrella/rstream-spreadsheet/)
|
|
254
|
-
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/shader-ast-workers.jpg" width="240"/> | Fork-join worker-based raymarch renderer (JS/CPU only) | [Demo](https://demo.thi.ng/umbrella/shader-ast-workers/)
|
|
255
|
-
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/svg-resample.png" width="240"/> | SVG path parsing & dynamic resampling | [Demo](https://demo.thi.ng/umbrella/svg-resample/)
|
|
256
|
-
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/talk-slides.png" width="240"/> | hdom based slide deck viewer & slides from my ClojureX 2018 keynote | [Demo](
|
|
257
|
-
| | Transducer & rstream based hdom UI updates | [Demo](https://demo.thi.ng/umbrella/transducers-hdom/)
|
|
258
|
-
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/webgl-channel-mixer.jpg" width="240"/> | rdom & WebGL-based image channel editor | [Demo](https://demo.thi.ng/umbrella/webgl-channel-mixer/)
|
|
259
|
-
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/webgl-cubemap.jpg" width="240"/> | WebGL cube maps with async texture loading | [Demo](https://demo.thi.ng/umbrella/webgl-cubemap/)
|
|
225
|
+
| Screenshot | Description | Live demo | Source |
|
|
226
|
+
|:-------------------------------------------------------------------------------------------------------------------------------------|:---------------------------------------------------------------------------------|:-----------------------------------------------------------|:---------------------------------------------------------------------------------------|
|
|
227
|
+
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/adaptive-threshold.png" width="240"/> | Interactive image processing (adaptive threshold) | [Demo](https://demo.thi.ng/umbrella/adaptive-threshold/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/adaptive-threshold) |
|
|
228
|
+
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/big-font.png" width="240"/> | Large ASCII font text generator using @thi.ng/rdom | [Demo](https://demo.thi.ng/umbrella/big-font/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/big-font) |
|
|
229
|
+
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/bitmap-font.gif" width="240"/> | Figlet-style bitmap font creation with transducers | [Demo](https://demo.thi.ng/umbrella/bitmap-font/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/bitmap-font) |
|
|
230
|
+
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/canvas-dial.png" width="240"/> | Canvas based dial widget | [Demo](https://demo.thi.ng/umbrella/canvas-dial/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/canvas-dial) |
|
|
231
|
+
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/color-themes.png" width="240"/> | Probabilistic color theme generator | [Demo](https://demo.thi.ng/umbrella/color-themes/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/color-themes) |
|
|
232
|
+
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/crypto-chart.png" width="240"/> | Basic crypto-currency candle chart with multiple moving averages plots | [Demo](https://demo.thi.ng/umbrella/crypto-chart/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/crypto-chart) |
|
|
233
|
+
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/dominant-colors.png" width="240"/> | Color palette generation via dominant color extraction from uploaded images | [Demo](https://demo.thi.ng/umbrella/dominant-colors/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/dominant-colors) |
|
|
234
|
+
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/fft-synth.png" width="240"/> | Interactive inverse FFT toy synth | [Demo](https://demo.thi.ng/umbrella/fft-synth/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/fft-synth) |
|
|
235
|
+
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/gesture-analysis.png" width="240"/> | Mouse gesture / stroke analysis, simplification, corner detection | [Demo](https://demo.thi.ng/umbrella/gesture-analysis/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/gesture-analysis) |
|
|
236
|
+
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/hdom-canvas-draw.jpg" width="240"/> | Interactive pattern drawing demo using transducers | [Demo](https://demo.thi.ng/umbrella/hdom-canvas-draw/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/hdom-canvas-draw) |
|
|
237
|
+
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/hdom-canvas/hdom-canvas-shapes-results.png" width="240"/> | Various hdom-canvas shape drawing examples & SVG conversion / export | [Demo](https://demo.thi.ng/umbrella/hdom-canvas-shapes/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/hdom-canvas-shapes) |
|
|
238
|
+
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/imgui/imgui-all.png" width="240"/> | Canvas based Immediate Mode GUI components | [Demo](https://demo.thi.ng/umbrella/imgui/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/imgui) |
|
|
239
|
+
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/mandelbrot.jpg" width="240"/> | Worker based, interactive Mandelbrot visualization | [Demo](https://demo.thi.ng/umbrella/mandelbrot/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/mandelbrot) |
|
|
240
|
+
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/markdown-parser.jpg" width="240"/> | Minimal Markdown to Hiccup to HTML parser / transformer | [Demo](https://demo.thi.ng/umbrella/markdown/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/markdown) |
|
|
241
|
+
| | Basic rstream-gestures multi-touch demo | [Demo](https://demo.thi.ng/umbrella/multitouch/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/multitouch) |
|
|
242
|
+
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/parse-playground.png" width="240"/> | Parser grammar livecoding editor/playground & codegen | [Demo](https://demo.thi.ng/umbrella/parse-playground/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/parse-playground) |
|
|
243
|
+
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/pixel-sorting.png" width="240"/> | Interactive pixel sorting tool using thi.ng/color & thi.ng/pixel | [Demo](https://demo.thi.ng/umbrella/pixel-sorting/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/pixel-sorting) |
|
|
244
|
+
| | Demonstates various rdom usage patterns | [Demo](https://demo.thi.ng/umbrella/rdom-basics/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/rdom-basics) |
|
|
245
|
+
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/rdom-delayed-update.jpg" width="240"/> | Dynamically loaded images w/ preloader state | [Demo](https://demo.thi.ng/umbrella/rdom-delayed-update/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/rdom-delayed-update) |
|
|
246
|
+
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/rdom-lissajous.png" width="240"/> | rdom & hiccup-canvas interop test | [Demo](https://demo.thi.ng/umbrella/rdom-lissajous/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/rdom-lissajous) |
|
|
247
|
+
| | Full umbrella repo doc string search w/ paginated results | [Demo](https://demo.thi.ng/umbrella/rdom-search-docs/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/rdom-search-docs) |
|
|
248
|
+
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/rdom-svg-nodes.png" width="240"/> | rdom powered SVG graph with draggable nodes | [Demo](https://demo.thi.ng/umbrella/rdom-svg-nodes/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/rdom-svg-nodes) |
|
|
249
|
+
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/rotating-voronoi.jpg" width="240"/> | Animated Voronoi diagram, cubic splines & SVG download | [Demo](https://demo.thi.ng/umbrella/rotating-voronoi/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/rotating-voronoi) |
|
|
250
|
+
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/rstream-event-loop.png" width="240"/> | Minimal demo of using rstream constructs to form an interceptor-style event loop | [Demo](https://demo.thi.ng/umbrella/rstream-event-loop/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/rstream-event-loop) |
|
|
251
|
+
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/rstream-grid.jpg" width="240"/> | Interactive grid generator, SVG generation & export, undo/redo support | [Demo](https://demo.thi.ng/umbrella/rstream-grid/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/rstream-grid) |
|
|
252
|
+
| | rstream based UI updates & state handling | [Demo](https://demo.thi.ng/umbrella/rstream-hdom/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/rstream-hdom) |
|
|
253
|
+
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/rstream-spreadsheet.png" width="240"/> | rstream based spreadsheet w/ S-expression formula DSL | [Demo](https://demo.thi.ng/umbrella/rstream-spreadsheet/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/rstream-spreadsheet) |
|
|
254
|
+
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/shader-ast-workers.jpg" width="240"/> | Fork-join worker-based raymarch renderer (JS/CPU only) | [Demo](https://demo.thi.ng/umbrella/shader-ast-workers/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/shader-ast-workers) |
|
|
255
|
+
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/svg-resample.png" width="240"/> | SVG path parsing & dynamic resampling | [Demo](https://demo.thi.ng/umbrella/svg-resample/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/svg-resample) |
|
|
256
|
+
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/talk-slides.png" width="240"/> | hdom based slide deck viewer & slides from my ClojureX 2018 keynote | [Demo](http://media.thi.ng/2018/talks/clojurex/index.html) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/talk-slides) |
|
|
257
|
+
| | Transducer & rstream based hdom UI updates | [Demo](https://demo.thi.ng/umbrella/transducers-hdom/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/transducers-hdom) |
|
|
258
|
+
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/webgl-channel-mixer.jpg" width="240"/> | rdom & WebGL-based image channel editor | [Demo](https://demo.thi.ng/umbrella/webgl-channel-mixer/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/webgl-channel-mixer) |
|
|
259
|
+
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/webgl-cubemap.jpg" width="240"/> | WebGL cube maps with async texture loading | [Demo](https://demo.thi.ng/umbrella/webgl-cubemap/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/webgl-cubemap) |
|
|
260
260
|
|
|
261
261
|
## API
|
|
262
262
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/rstream",
|
|
3
|
-
"version": "7.2.
|
|
3
|
+
"version": "7.2.28",
|
|
4
4
|
"description": "Reactive streams & subscription primitives for constructing dataflow graphs / pipelines",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -34,21 +34,21 @@
|
|
|
34
34
|
"test": "testament test"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@thi.ng/api": "^8.4.
|
|
38
|
-
"@thi.ng/arrays": "^2.4.
|
|
39
|
-
"@thi.ng/associative": "^6.2.
|
|
40
|
-
"@thi.ng/atom": "^5.1.
|
|
41
|
-
"@thi.ng/checks": "^3.3.
|
|
42
|
-
"@thi.ng/errors": "^2.2.
|
|
43
|
-
"@thi.ng/logger": "^1.4.
|
|
44
|
-
"@thi.ng/transducers": "^8.3.
|
|
37
|
+
"@thi.ng/api": "^8.4.6",
|
|
38
|
+
"@thi.ng/arrays": "^2.4.2",
|
|
39
|
+
"@thi.ng/associative": "^6.2.16",
|
|
40
|
+
"@thi.ng/atom": "^5.1.22",
|
|
41
|
+
"@thi.ng/checks": "^3.3.3",
|
|
42
|
+
"@thi.ng/errors": "^2.2.4",
|
|
43
|
+
"@thi.ng/logger": "^1.4.3",
|
|
44
|
+
"@thi.ng/transducers": "^8.3.23"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@microsoft/api-extractor": "^7.33.5",
|
|
48
|
-
"@thi.ng/testament": "^0.3.
|
|
48
|
+
"@thi.ng/testament": "^0.3.5",
|
|
49
49
|
"rimraf": "^3.0.2",
|
|
50
50
|
"tools": "^0.0.1",
|
|
51
|
-
"typedoc": "^0.23.
|
|
51
|
+
"typedoc": "^0.23.20",
|
|
52
52
|
"typescript": "^4.8.4"
|
|
53
53
|
},
|
|
54
54
|
"keywords": [
|
|
@@ -75,8 +75,8 @@
|
|
|
75
75
|
"node": ">=12.7"
|
|
76
76
|
},
|
|
77
77
|
"files": [
|
|
78
|
-
"
|
|
79
|
-
"
|
|
78
|
+
"./*.js",
|
|
79
|
+
"./*.d.ts",
|
|
80
80
|
"internal"
|
|
81
81
|
],
|
|
82
82
|
"exports": {
|
|
@@ -201,5 +201,5 @@
|
|
|
201
201
|
],
|
|
202
202
|
"year": 2017
|
|
203
203
|
},
|
|
204
|
-
"gitHead": "
|
|
204
|
+
"gitHead": "044ee6a3895720fc78e115032d4d831b63510929\n"
|
|
205
205
|
}
|