onUploadProgress

Set a listener for upload progress.

Usage

myRemoteStorage.onUploadProgress((percent, fileName) => {
  console.log(`Upload Progress (${fileName}): ${percent}%`);
});

Returns

void

This method does not return any value.

Parameters

listener

  • Type UploadProgressCallback

A callback function to receive updates on the upload progress.

Previous
download