Home > @firebase/storage > uploadBytesResumable
uploadBytesResumable() function
Uploads data to this object's location. The upload can be paused and resumed, and exposes progress updates.
Signature:
export declare function uploadBytesResumable(ref: StorageReference, data: Blob | Uint8Array | ArrayBuffer, metadata?: UploadMetadata): UploadTask;
Parameters
Parameter | Type | Description |
---|---|---|
ref | StorageReference | StorageReference where data should be uploaded. |
data | Blob | Uint8Array | ArrayBuffer | The data to upload. |
metadata | UploadMetadata | Metadata for the data to upload. |
Returns:
An UploadTask