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

Add plugin event bus sync-start, sync-end, and sync-fail #9798

Closed
zuoez02 opened this issue Dec 1, 2023 · 2 comments
Closed

Add plugin event bus sync-start, sync-end, and sync-fail #9798

zuoez02 opened this issue Dec 1, 2023 · 2 comments
Assignees
Milestone

Comments

@zuoez02
Copy link
Contributor

zuoez02 commented Dec 1, 2023

[Plugin event request] Request new event "sync-start", "sync-finish"

In what scenarios do you need this feature?

Get sync finish and refresh file list from /data/public

Describe the optimal solution

Add two event in eventbus

Describe the candidate solution

No response

Other information

No response

@Vanessa219
Copy link
Member

监听 "ws-main"
data.cmd === "syncing"
data.code === 0 // syncing
data.code === 2 // error
data.code === 1 // success

这样是不太方便还是有其他问题?

@zuoez02
Copy link
Contributor Author

zuoez02 commented Dec 2, 2023 via email

@88250 88250 added this to the 2.11.1 milestone Dec 3, 2023
@88250 88250 changed the title [Plugin event request] Request new event "sync-start", "sync-finish" Add plugin eventbus sync-start and sync-end Dec 3, 2023
@88250 88250 changed the title Add plugin eventbus sync-start and sync-end Add plugin eventbus sync-start, sync-end, and sync-fail Dec 3, 2023
Vanessa219 added a commit that referenced this issue Dec 3, 2023
@88250 88250 changed the title Add plugin eventbus sync-start, sync-end, and sync-fail Add plugin event bus sync-start, sync-end, and sync-fail Dec 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants