mirror of
https://github.com/bitwarden/clients.git
synced 2026-06-04 21:04:29 +08:00
chore(docs): Update state readme warning callout.
This commit is contained in:
parent
52a507bc59
commit
63e0d07a39
@ -251,7 +251,7 @@ type StateUpdateOptions = {
|
||||
}
|
||||
```
|
||||
|
||||
> [!WARNING] > `firstValueFrom()` and state updates
|
||||
> [!WARNING] `firstValueFrom()` and state updates
|
||||
>
|
||||
> A usage pattern of updating state and then immediately requesting a value through `firstValueFrom()` > **will not always result in the updated value being returned**. This is because we cannot guarantee
|
||||
> that the update has taken place before the `firstValueFrom()` executes, in which case the previous
|
||||
|
||||
Loading…
Reference in New Issue
Block a user