mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-05 14:35:20 -04:00
The SyncService::stop method guarantees that the sync service will be stopped after it has completed so there's no need to wait for state changes. The state change might not even come, if you pressed `S` to stop the sync service manually.