fix(core): update

This commit is contained in:
Philipp Kunz 2020-02-21 23:06:47 +00:00
parent cba7c11eea
commit 0fcfba2973
2 changed files with 2 additions and 0 deletions

View File

@ -38,6 +38,7 @@ tap.test('should store data in bucket fast', async () => {
tap.test('should get data in bucket', async () => {
const fileString = await myBucket.fastGet('hithere/socool.txt');
const fileStringStream = await myBucket.fastGetStream('hithere/socool.txt');
console.log(fileString);
});

View File

@ -94,6 +94,7 @@ export class Bucket {
return chunk;
},
async cb => {
console.log('stream ended');
replaySubject.complete();
return Buffer.from('');
}