mirror of
https://github.com/bitwarden/browser.git
synced 2025-01-31 22:51:28 +01:00
Add TODO notes to state$ handling.
Following emits from the storage service nicely allows for updates to specified accounts being automatically picked up to state without special processing
This commit is contained in:
parent
92021edb6b
commit
604671d70c
@ -26,6 +26,9 @@ import { DerivedUserState } from "./derived-user-state";
|
||||
import { KeyDefinition } from "./key-definition";
|
||||
import { StorageLocation } from "./state-definition";
|
||||
|
||||
// TODO: Update storage services to emit when any key is updated
|
||||
// Then listen to that observable here to emit on `state$` when the `formattedKey$`
|
||||
// is reported updated by the storage service;
|
||||
export class DefaultUserState<T> implements UserState<T> {
|
||||
private seededInitial = false;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user