Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
doc: remove an extra space in doc/api/stream.md
Remove an extra space around a generator function signature in the async
iterable pipeline examples.

Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
  • Loading branch information
tilgovi and aduh95 authored Mar 9, 2022
commit 31c98253bbc34a10944b2c6f229f7af319bd3801
2 changes: 1 addition & 1 deletion doc/api/stream.md
Original file line number Diff line number Diff line change
Expand Up @@ -2556,7 +2556,7 @@ const fs = require('fs');

async function run() {
await pipeline(
async function * ({ signal }) {
async function* ({ signal }) {
await someLongRunningfn({ signal });
yield 'asd';
},
Expand Down