eventkit
0.3.0
Minor Changes
- #6
03fb5d1
Thanks @hntrl! - Introduces 10 new operators into eventkit:find
,findIndex
,first
,isEmpty
,last
,max
,min
,pairwise
,skip
, andevery
. See the docs for a complete reference.
Patch Changes
#6
7b6dbb1
Thanks @hntrl! - Fixed some invariant behavior with thereduce
operator where the chain of accumulator calls depending on the seed value wasn't consistent with the native array methodUpdated dependencies []:
- @eventkit/async-observable@0.3.0
0.2.0
Minor Changes
#4
1371b77
Thanks @hntrl! - IntroducesSingletonAsyncObservable
; a utility class for observables that lets you access the value emitted by observables that emit one (and only one) value (like the observables returned fromreduce()
,count()
, etc.) using native await syntax.This makes the consumption of these single value operators a little bit more readable. For instance:
tsconst obs = AsyncObservable.from([1, 2, 3]); const singleton = obs.pipe(first()); // instead of this: let firstValue: number | undefined; await obs.subscribe((value) => { firstValue = value; }); console.log(firstValue); // 1 // you can just do this: console.log(await singleton); // 1
Patch Changes
- Updated dependencies [
fa3aa52
]:- @eventkit/async-observable@0.2.0
0.1.1
Patch Changes
a84a6cd
- Fixed an issue where some operators can become permanently blocked in some runtimes35f0ed7
- Fixed an issue where an error would be thrown if multiple eventkit packages were used in the same file2c27d80
- Fixed some invariant behavior where the merge operator would wait for the scheduler promise instead of completionUpdated dependencies [
35f0ed7
]:- @eventkit/async-observable@0.1.1
0.1.0
Minor Changes
Patch Changes
- Updated dependencies [
78687a5
]:- @eventkit/async-observable@0.1.0