mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-15 11:36:07 -04:00
By returning a `Subscriber`, one can call `Subscriber::get` to get the inner value. Thus, having `state` and `state_stream` is useless. It's possible to return have `state` which returns `Subscriber`, and we get one value for two usages.