Skip to content

What events are streamed from cache.download()? #20

@chmac

Description

@chmac

Firstly, thanks for an awesome plugin. It came highly recommended and seems to be precisely what we're looking for.

I'm wondering if there are docs somewhere about what type of events the onprogress callback gets passed?

Specifically, I'm thinking about how to implement a "ready" event for each file. Ideally I'd like to throw some files at the cache, and then trigger a callback when those files have been successfully fetched. My first thought was to try listening to the progress events and then reacting appropriately. Does that approach make sense?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions