Permalink
Browse files

Updating README.md

  • Loading branch information...
mtrunkat committed Feb 4, 2019
1 parent 9725c3d commit 6f45cea6ea0224b20fd8af075851d4bac4c4e376
Showing with 3 additions and 3 deletions.
  1. +2 −2 README.md
  2. +1 −1 package.json
@@ -151,7 +151,7 @@ You need enough memory to keep a set of all unique values hashed using sha256.
const uniquesStream = stream.uniq('id');
```

### weakSort `stream.weakSort(sortFunction, bufferMinSize, bufferMaxSize)`
### weakSort `stream.weakSort(sortFunction, [bufferMinSize=75], [bufferMaxSize=100])`

Returns stream containing values sorted using given function and floating buffer of a given size.

@@ -168,7 +168,7 @@ const sortFunction = (a, b) => a.index < b.index ? -1 : 1;
const sortedStream = stream.sort(sortFunction, 75, 100);
```

### onSeries `stream.onSeries(async function, concurrency)`
### onSeries `stream.onSeries(async function, [concurrency=1])`

Returns a promise that gets resolved when given function gets finished for the last item of the stream.

@@ -1,6 +1,6 @@
{
"name": "flowage",
"version": "0.0.4",
"version": "0.0.5",
"description": "Easy filtering and transformations for NodeJS streams.",
"engines": {
"node": ">=8.0.0"

0 comments on commit 6f45cea

Please sign in to comment.