paulpdaniels / streamish

A simple Functional Reactive Streaming library
MIT License
0 stars 0 forks source link

Added buffer, fixed flatMap implementation, new unit tests. #26

Closed paulpdaniels closed 7 years ago

paulpdaniels commented 7 years ago

Improve performance by reducing the overhead for method calls through inheritance flattening. Also moves toward the goal of making this a more functional library that relies on composition over inheritence.

Added the basic buffer operator.

Fixed missing flatMap conformance behavior.

codecov-io commented 7 years ago

Codecov Report

Merging #26 into master will increase coverage by 0.11%. The diff coverage is 99.16%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master   #26      +/-   ##
=======================================
+ Coverage   98.88%   99%   +0.11%     
=======================================
  Files          40    42       +2     
  Lines         719   803      +84     
  Branches       95   107      +12     
=======================================
+ Hits          711   795      +84     
  Misses          7     7              
  Partials        1     1
Impacted Files Coverage Δ
src/stream/schedulers/virtualTimeScheduler.js 100% <ø> (ø) :arrow_up:
src/stream/operators/flatMap.js 100% <100%> (ø) :arrow_up:
src/stream/source/fromIterable.js 100% <100%> (+8.33%) :arrow_up:
src/stream/operators/concat.js 100% <100%> (ø) :arrow_up:
src/stream/operators/scan.js 100% <100%> (ø) :arrow_up:
src/stream/operators/zip.js 100% <100%> (ø) :arrow_up:
src/stream/operators/combine.js 100% <100%> (ø) :arrow_up:
src/stream/schedulers/testScheduler.js 100% <100%> (ø) :arrow_up:
src/stream/operators/delay.js 100% <100%> (+13.63%) :arrow_up:
src/stream/operators/debounce.js 100% <100%> (ø) :arrow_up:
... and 18 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 07ce7f3...ae8798b. Read the comment docs.