Skip to content

Dev release 0.4.10#9

Merged
mrft merged 29 commits intomainfrom
dev
Aug 29, 2024
Merged

Dev release 0.4.10#9
mrft merged 29 commits intomainfrom
dev

Conversation

@mrft
Copy link
Copy Markdown
Owner

@mrft mrft commented Aug 29, 2024

Added flatMap operator

mrft added 28 commits July 10, 2024 13:56
…ource iterator

and then combining the results in a tuple
(improved itr8ToMultiIterable to be able to use it synchronously as well)
Whoever needs the original should pass the (newly added) identity()
operator as the first argument.
+ some style cleanup
- Added a getTimestamp(...) argument to the 'throttle' and 'debounce' operators to allow using prerecorded timestamps
- Some small fixes to md files and comments to make typedoc happy
…on scripts

* Edited scripts.version to check if the CHANGELOG.md has been properly updated before bumping the version
and then pass it to npm publish command (--otp $OTP)
so we can remove auth-type=legacy from .npmrc
(If you don't need one to publish, simply pressing enter will not add it.)
* removed compiled js files under test/ and benchmarks/src + CHANGELOG.md small change + removed some useless imports
* Added distribute.ts files that are incomplete but whose JSDocs section aready contains the idea of how it should wrok a bit
* Fixed a typing issue on the tap operator + added a first working (always async for now) version of the distribute() operator
* Added a few comments to distribute operator, to figure out how it should ideally work.
* Distribute operator is simpler now as it assumes [catergory, value] tuples as input.
It also has a fully synchronous version for synchronous input iterators now.
- change to package.json:scripts:test to allo skipping c8 (code coverage)
- github workflow: disable c8 whe running tests on github
Squashed commit of the following:

commit e110ef6
Author: Frederik Tilkin <frederik_tilkin@hotmail.com>
Date:   Thu Aug 29 22:58:45 2024 +0200

    flatMap code cleanup

commit 25cbcbb
Author: Frederik Tilkin <frederik_tilkin@hotmail.com>
Date:   Thu Aug 29 14:33:02 2024 +0200

    Added simple flatMap operator that supports any sync or async iterable.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant