Skip to content

Provide fallback storage when using tus in Web Workers #664

@dumitrascuSorin

Description

@dumitrascuSorin

Is your feature request related to a problem? Please describe.
Following PR #660, uploading files from a Web Worker has been a breeze.
However, resuming an interrupted upload is no longer possible because of the hard dependency on localStorage, which is not supported in Web Workers.

Describe the solution you'd like
Would be nice to use a storage mechanism supported by Web Workers, such as the IndexedDB API.

Can you provide help with implementing this feature?
Yes, if the tus team is open to this idea.

Looking forward to your reply.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions