Skip to content

Conversation

@1slash77
Copy link

No description provided.

Copy link
Contributor

@antonkazakov antonkazakov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Привет. По работе все ок. На вопрос ответил, пока не закрываю ПР, чтобы не потерять

compositeDisposable.add(disposable)
}

//Вопрос: при медленном интернет соединении посылается первый запрос, потом пауза в 6-10 сек,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Привет. В чате разобрались в причинах, предлагаю попробовать тебе опертор repeatWhen
repeatWhen { completed -> completed.delay(2, TimeUnit.SECONDS) } после запроса

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants