*reset pipe before asking for next chunk

This commit is contained in:
Derrick Hammer 2023-04-17 02:10:43 -04:00
parent 68fdd4e0ce
commit 020f02d958
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 2 additions and 2 deletions

View File

@ -66,10 +66,10 @@ export class IPFSClient extends Client {
};
}
update("next");
pipe = defer();
update("next");
return {
value: chunk,
done: false,