Skip to main content

IStorageUploader.uploadBatch() method

Upload an array of arbitrary file data or JSON strings

Signature:

uploadBatch(data: FileOrBufferOrString[], options?: T): Promise<string[]>;

Parameters

ParameterTypeDescription
dataFileOrBufferOrString[]Array of arbitrary file data or JSON strings to upload
optionsT(Optional) Options to pass through to the uploader

Returns:

Promise<string[]>

Array of uploaded file URIs