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

Change sync snap operations for async operations ( Remove, Install, List, Find ) #3

Open
JeffLabonte opened this issue Apr 7, 2019 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@JeffLabonte
Copy link
Contributor

Just to make sure that everything works fine with the front-end later, We'll have to change sync functions in snap service.

Otherwise it might block the front-end.

@JeffLabonte JeffLabonte added the enhancement New feature or request label Apr 7, 2019
@JeffLabonte JeffLabonte self-assigned this Apr 7, 2019
@JeffLabonte JeffLabonte changed the title Change sync snap for async Change sync snap operations for async operations ( Remove, Install, List, Find ) Apr 7, 2019
@lah7
Copy link
Member

lah7 commented Apr 7, 2019

Python's threading could come into play. That's how the current "prototype 2.0" software-boutique currently prevents Python code from blocking WebView.

@JeffLabonte
Copy link
Contributor Author

JeffLabonte commented Apr 7, 2019

There is method that handles it in the Glib. I have used the sync method for now to get stuff going and work only on the install and remove logic. I will change the sync method for the async one.

Doc on install_async

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants