MaikuB / MaikuB/flutter_appauth
[ Concurrent API calls ]
- Dominant language
- Objective-C
- Stars
- 308
- Forks
- 301
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 5
Description
Hi,
Thanks for the work,
What about concurrent calls ? I mean let's say for the exemple :
- I have a home_page.dart with 3 sections.
- Each section is filled with datas coming from separate / specific API calls.
- We then have smtg like this :
```
@override
void initState() {
super.initState();
}
```
Won't this provoke refresh tokens infinite loop ?
How to handle this ?
How does your lib handle this ?
'cause Queue.lock( ) / .unlock( ) that would intervene on [ Error 401 ("token-expired") ] would trigger too late so...
Thanks in advance (^_^)
Contributor guide
Research direction
The example names home_page.dart and three separate API calls, but no library file or test is identified. Start by examining how concurrent calls and expired-token handling are documented or implemented, then determine whether the library already coordinates refreshes and what observable behavior should confirm completion.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart, flutter
- Domain
- authentication, mobile
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100