Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
fu050409 opened this issue Jul 13, 2024 · 0 comments
Open

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

fu050409 opened this issue Jul 13, 2024 · 0 comments
Labels
backend Issues from Tauri backend feature New feature request
Milestone

Comments

@fu050409
Copy link
Member

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.

@fu050409 fu050409 added the pending triage Pending for a triage label Jul 13, 2024
@fu050409 fu050409 changed the title [Feature Request]: Emit download progress to fronted end [Feature Request]: Emit download progress to frontend Jul 13, 2024
@fu050409 fu050409 added this to the v1.0.0 milestone Jul 13, 2024
@fu050409 fu050409 added feature New feature request backend Issues from Tauri backend and removed pending triage Pending for a triage labels Jul 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Issues from Tauri backend feature New feature request
Projects
None yet
Development

No branches or pull requests

1 participant