Skip to content

Commit 3317136

Browse files
twisslarabr
andcommitted
Update lib/streams.js
Co-authored-by: larabr <larabr+github@protonmail.com>
1 parent fe3cb09 commit 3317136

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

lib/streams.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,12 @@ function transform(input, process = () => undefined, finish = () => undefined, q
252252
* @param {Object} queuingStrategy
253253
* @returns {ReadableStream|Uint8array|String}
254254
*/
255-
async function transformAsync(input, process = () => undefined, finish = () => undefined, queuingStrategy = { highWaterMark: 1 }) {
255+
async function transformAsync(
256+
input,
257+
process = async () => undefined,
258+
finish = async () => undefined,
259+
queuingStrategy = { highWaterMark: 1 }
260+
) {
256261
if (isStream(input)) {
257262
return _transformStream(input, process, finish, queuingStrategy);
258263
}

0 commit comments

Comments
 (0)