We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d16784 commit b42931cCopy full SHA for b42931c
packages-exp/auth-exp/src/core/auth/auth_impl.ts
@@ -35,16 +35,14 @@ export const DEFAULT_API_SCHEME = 'https';
35
36
class AuthImpl implements Auth {
37
currentUser: User | null = null;
38
- private operations: Promise<void>;
+ private operations = Promise.resolve();
39
private persistenceManager?: PersistenceUserManager;
40
41
constructor(
42
public readonly name: string,
43
public readonly config: Config,
44
persistenceHierarchy: Persistence[]
45
) {
46
- this.operations = Promise.resolve();
47
-
48
// This promise is intended to float; auth initialization happens in the
49
// background, meanwhile the auth object may be used by the app.
50
// eslint-disable-next-line @typescript-eslint/no-floating-promises
0 commit comments