flamelink / flamelink-js-sdk

🦊 Official Flamelink JavaScript SDK for both the Firebase Realtime database and Cloud Firestore
https://flamelink.github.io/flamelink-js-sdk
MIT License
43 stars 5 forks source link

Feature/upload progress #72

Closed jperasmus closed 5 years ago

jperasmus commented 5 years ago

During the app.storage.upload() process, it was previously impossible to keep track of the upload process' progress - this change replaces the previous Promise responses with a custom PromiseEmitter object that behaves both like a Promise but also as an EventEmitter which can be used to subscribe and listen to realtime events as the files are being uploaded.