Skip to content

Commit 8e86465

Browse files
authored
Merge pull request #179 from hbre/patch-1
Update README.md
2 parents 7abb118 + 445e797 commit 8e86465

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ import { decodeStream } from "@msgpack/msgpack";
229229
const stream: AsyncIterator<Uint8Array>;
230230

231231
// in an async function:
232-
for await (const item of decodeStream(stream)) {
232+
for await (const item of decodeMultiStream(stream)) {
233233
console.log(item);
234234
}
235235
```

0 commit comments

Comments
 (0)