jpochyla/psst

Token fetching should happen async

Open

#492 opened on Jul 5, 2024

 (0 comments) (0 reactions) (0 assignees)Rust (266 forks)batch import
good first issuehelp wanted

Repository metrics

Stars
 (9,463 stars)
PR merge metrics
 (PR metrics pending)

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