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 background commands with polling #570

Merged
merged 2 commits into from
Jul 2, 2021

Conversation

JoosuaKoskinen
Copy link
Contributor

What are the main changes in this PR?

Adds possibility to run commands on background and polling to see when it has finished.

Also added a test-page which is enabled in Seravo Plugin debug mode and there's an example usage of polling.

Why are we doing this? Any context or related work?

Needed for long operations and related to #465.

Where should a reviewer start?

You can try the example on test-page.

@JoosuaKoskinen JoosuaKoskinen requested a review from Moppa5 July 1, 2021 15:30
@JoosuaKoskinen JoosuaKoskinen changed the base branch from master to seravo-plugin-2/master July 1, 2021 15:30
@JoosuaKoskinen JoosuaKoskinen force-pushed the seravo-plugin-2/polling branch from 85b5b7f to 90a2f67 Compare July 1, 2021 15:49
Copy link
Contributor

@Moppa5 Moppa5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good! There's one minor comment that is not necessarily this PR specific.

@JoosuaKoskinen JoosuaKoskinen force-pushed the seravo-plugin-2/polling branch from 90a2f67 to abcdd93 Compare July 2, 2021 11:13
@JoosuaKoskinen JoosuaKoskinen merged commit abcdd93 into seravo-plugin-2/master Jul 2, 2021
@JoosuaKoskinen JoosuaKoskinen deleted the seravo-plugin-2/polling branch July 2, 2021 11:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants