async fn keep_open(
server: &Server,
password: &str,
account: &Account,
control: &Control,
report: &mut impl FnMut(Result<Report, SyncError>),
pause: &mut Duration,
) -> Result<(), SyncError>Expand description
One connection, kept as long as it lives: fetch, wait for news, fetch again.