fix(core): update
This commit is contained in:
		| @@ -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); | ||||
| }); | ||||
|  | ||||
|   | ||||
| @@ -94,6 +94,7 @@ export class Bucket { | ||||
|         return chunk; | ||||
|       }, | ||||
|       async cb => { | ||||
|         console.log('stream ended'); | ||||
|         replaySubject.complete(); | ||||
|         return Buffer.from(''); | ||||
|       } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user