-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix!: return stream of pairs from getmany (#195)
To make the return value of getMany consistent with putMany and getAll, return a stream of pairs from the return type of getMany - this also allows decoupling of processing the output from the input since the output processor doesn't need any extra context since they get both the key and the value being returned. BREAKING CHANGE: the output of store.getMany is now a stream of pairs
- Loading branch information
1 parent
40f500b
commit 252bced
Showing
3 changed files
with
15 additions
and
13 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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