Conversation
…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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added flatMap operator