# Count account changes from the sign-in itself · dara/icarus

[View on GitCafe](https://git.cafe/dara/icarus/commit/dd81d8a81a91caa7b9d42ab0ab2693265e030bb6)

Repository: [dara/icarus](https://git.cafe/dara/icarus)

Visibility: public

Requested revision: dd81d8a81a91caa7b9d42ab0ab2693265e030bb6

Requested commit: dd81d8a81a91caa7b9d42ab0ab2693265e030bb6

Commit: dd81d8a81a91caa7b9d42ab0ab2693265e030bb6

Tree: b97d37a90233b99959b141f26181f4d459078874

Author: Dara Adedeji

Committer: Dara Adedeji

## Message

```
Count account changes from the sign-in itself

The account id provider is derived from the sign-in and refreshes later,
so a switch to another account and back within one turn never reached
its listener and the drain's count stayed put. The queue now counts
changes from authProvider, which tells its listeners of each one as it
happens. The test signs in through the auth notifier and makes both
switches inside one read.

```

## Parents

- [0c91cf48f271242ca016029209c9b9f25cb2d4f3](https://git.cafe/dara/icarus/commit/0c91cf48f271242ca016029209c9b9f25cb2d4f3?format=markdown)

[Source at this commit](https://git.cafe/dara/icarus/tree/dd81d8a81a91caa7b9d42ab0ab2693265e030bb6?format=markdown)
