fix(core): update
This commit is contained in:
parent
cba7c11eea
commit
0fcfba2973
@ -38,6 +38,7 @@ tap.test('should store data in bucket fast', async () => {
|
|||||||
|
|
||||||
tap.test('should get data in bucket', async () => {
|
tap.test('should get data in bucket', async () => {
|
||||||
const fileString = await myBucket.fastGet('hithere/socool.txt');
|
const fileString = await myBucket.fastGet('hithere/socool.txt');
|
||||||
|
const fileStringStream = await myBucket.fastGetStream('hithere/socool.txt');
|
||||||
console.log(fileString);
|
console.log(fileString);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -94,6 +94,7 @@ export class Bucket {
|
|||||||
return chunk;
|
return chunk;
|
||||||
},
|
},
|
||||||
async cb => {
|
async cb => {
|
||||||
|
console.log('stream ended');
|
||||||
replaySubject.complete();
|
replaySubject.complete();
|
||||||
return Buffer.from('');
|
return Buffer.from('');
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user