We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e26a55 commit d66c2baCopy full SHA for d66c2ba
packages/storage/src/public-types.ts
@@ -352,15 +352,6 @@ export interface UploadTask {
352
* // Stop after receiving one update.
353
* unsubscribe();
354
* });
355
- *
356
- * // This code is equivalent to the above.
357
- * var handle = uploadTask.on(firebase.storage.TaskEvent.STATE_CHANGED);
358
- * unsubscribe = handle(function(snapshot) {
359
- * var percent = snapshot.bytesTransferred / snapshot.totalBytes * 100;
360
- * console.log(percent + "% done");
361
- * // Stop after receiving one update.
362
- * unsubscribe();
363
- * });
364
* ```
365
*
366
* @param event - The type of event to listen for.
0 commit comments