Skip to content

Asynchronicity improvements#2753

Merged
Martí Climent (marticliment) merged 24 commits intomainfrom
better-async
Sep 19, 2024
Merged

Asynchronicity improvements#2753
Martí Climent (marticliment) merged 24 commits intomainfrom
better-async

Conversation

@marticliment
Copy link
Copy Markdown
Collaborator

@marticliment Martí Climent (marticliment) commented Sep 18, 2024

Currently, asynchronicity is only used when waiting for subprocesses to write on stout, while all the parsing is done on the UI thread, causing some stuttering and small lagging.

This PRs refractors the PackageManager's internal calls into synchronous methods, that are then called on a thread via Task.Run, moving all the packagemanager-related processing to the background and improving UI smoothness.

The most notable change is the lack of stuttering when installed packages are loaded and added to the list

@marticliment Martí Climent (marticliment) marked this pull request as ready for review September 19, 2024 21:47
@marticliment Martí Climent (marticliment) deleted the better-async branch October 22, 2024 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant