streaming method

AuthStorage streaming()

streaming implementation

provide status getter. and wrap this storage with status listener which provides authentication state changes ...

use statusStream or statusStreamOrNull extension function for status stream.

use initializeStatusStream extension function to push initial state on stream. this is optional.

it should be wrapped first with lock then status.

Implementation

AuthStorage streaming() => AuthStorageStreamingImpl(this);