Commit fad2bb7
docs(gotrue): document the _refreshTokenCompleter concurrent-request deduplication pattern (#1342)
Expand the comment on `_refreshTokenCompleter` to explain the race
condition it prevents, how the deduplication mechanism works, and
that the completer is cleared after resolution for the next cycle.
Linear: SDK-813
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 7121ac2 commit fad2bb7
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
60 | 66 | | |
61 | 67 | | |
62 | 68 | | |
| |||
0 commit comments