StorageObserver interface
Stay organized with collections
Save and categorize content based on your preferences.
A stream observer for Firebase Storage.
Signature:
export interface StorageObserver<T>
Properties
StorageObserver.complete
Signature:
complete?: CompleteFn | null;
StorageObserver.error
Signature:
error?: (error: StorageError) => void | null;
StorageObserver.next
Signature:
next?: NextFn<T> | null;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-02-02 UTC.
[null,null,["Last updated 2023-02-02 UTC."],[],[],null,["# StorageObserver interface\n\nA stream observer for Firebase Storage.\n\n**Signature:** \n\n export interface StorageObserver\u003cT\u003e \n\nProperties\n----------\n\n| Property | Type | Description |\n|------------------------------------------------------------------|----------------------------------------------------------------------------------------|-------------|\n| [complete](./storage.storageobserver.md#storageobservercomplete) | [CompleteFn](./util.md#completefn) \\| null | |\n| [error](./storage.storageobserver.md#storageobservererror) | (error: [StorageError](./storage.storageerror.md#storageerror_class)) =\\\u003e void \\| null | |\n| [next](./storage.storageobserver.md#storageobservernext) | [NextFn](./util.md#nextfn)\\\u003cT\\\u003e \\| null | |\n\nStorageObserver.complete\n------------------------\n\n**Signature:** \n\n complete?: CompleteFn | null;\n\nStorageObserver.error\n---------------------\n\n**Signature:** \n\n error?: (error: StorageError) =\u003e void | null;\n\nStorageObserver.next\n--------------------\n\n**Signature:** \n\n next?: NextFn\u003cT\u003e | null;"]]