async upload(filename, data, progress, bucket)
Upload a media file to network storage.
| Name | Type | Required | Description |
|---|---|---|---|
filename |
string | yes | Destination filename. |
data |
Blob | Uint8Array | string | yes | File payload. |
progress |
function | no | Progress callback. |
bucket |
string | no | Target storage bucket. |
Promise<object>
No additional runtime notes yet.
No additional details yet.