a Promise
that resolves when the upload stream has finished.
Aborts the upload. Emits an abort
event and sets the aborted
flag.
Calls each of the listeners registered for a given event.
Return an array listing the events for which the emitter has registered listeners.
Return the number of listeners listening to a given event.
Return the listeners registered for a given event.
Add a listener for a given event.
Add a one-time listener for a given event.
Remove all listeners, or those of the specified event.
Remove the listeners of a given event.
Generated using TypeDoc
An
Upload
is the result of callingparcel.uploadDocument
.During upload, emits
progress
events, each with aProgressEvent
as its argument.When the document has been uploaded, the
finish
event is emitted with theDocument
reference as its argument.