Skip to main content

FileUploadManager

Used to manage multiple file uploads. useFileUploadManager can be used to create a FileUploadManager.

Used by MultiFileUpload to manage the FileUploads.

fileUploads

{
inProgress: Array<FileUpload<Response>>;
successful: Array<FileUpload<Response>>;
failed: Array<FileUpload<Response>>;
length: number;
}

An object containing the FileUploads in there different states.

removeFileUpload (fileUploadToRemove: FileUpload<Response>) => void

A function which can be called to remove a FileUpload from fileUploads

handlers FileUploaderObservers<Response>

A set of functions which is used to rely FileUpload status information to the manager.