jpochyla/psst

Token fetching should happen async

Open

#492 opened on Jul 5, 2024

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Rust (7,282 stars) (183 forks)batch import
good first issuehelp wanted

Description

Currently, when the application is opened and a token needs to be refetched, the window will not open until the token is retrieved. While this might make sense from a serialized loading perspective, it gives the impression that the entire application is stalling. We should load the token asynchronously and wait for it whilst the window loads simultaneously.

Contributor guide