Go to console

Represents the process of uploading an object. Allows you to monitor and manage the upload.

Index

Properties

Methods

Properties

snapshot

A snapshot of the current task state.

Methods

cancel

  • cancel(): boolean
  • Cancels a running task. Has no effect on a complete or failed task.

    Returns boolean

    True if the cancel had an effect.

catch

  • catch(onRejected: function): Promise<any>
  • Equivalent to calling then(null, onRejected).

    Parameters

    • onRejected: function