Skip to content

Aborting the ongoing request is not handlled. #18

@shantanuFyndGit

Description

@shantanuFyndGit

Abort ongoing request to upload the image is not handled
tried this
const abortController = new AbortController();
const signal = abortController.signal;

Pixelbin.upload(blob, presignedUrl, {
chunkSize: 2 * 1024 * 1024,
maxRetries: 1,
concurrency: 2,
signal: signal,
})

.
.
.
and called this abortController.abort();
whenever request needed to be cancelled

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions