fix(read-chunk/USAGE): fix pkg name
This commit is contained in:
parent
c10bfe3db2
commit
dfecb801db
@ -3,7 +3,7 @@
|
|||||||
- returns `null` if the stream has ended
|
- returns `null` if the stream has ended
|
||||||
|
|
||||||
```js
|
```js
|
||||||
import { readChunk } from '@xen-orchestra/read-chunk'
|
import { readChunk } from '@vates/read-chunk'
|
||||||
;(async () => {
|
;(async () => {
|
||||||
let chunk
|
let chunk
|
||||||
while ((chunk = await readChunk(stream, 1024)) !== null) {
|
while ((chunk = await readChunk(stream, 1024)) !== null) {
|
||||||
|
Loading…
Reference in New Issue
Block a user