Skip to content

[Feature Request]: Emit download progress to frontend #27

Open
@fu050409

Description

@fu050409

What problem does this feature solve?

We don't know how many we downloaded now, neither the status or the download progress. The backend should emit events.

What does the proposed API look like?

app.emit("download.fulfilled", { ...payload });
app.emit("download.failed", { ...payload });

The payload is a serializable and deserializable struct and this should also declare in src/types/payload.ts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    backendIssues from Tauri backendfeatureNew feature request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions