Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Continually #643

Closed
sksamuel opened this issue Feb 10, 2019 · 0 comments
Closed

Continually #643

sksamuel opened this issue Feb 10, 2019 · 0 comments
Labels
enhancement ✨ Suggestions for adding new features or improving existing ones.
Milestone

Comments

@sksamuel
Copy link
Member

sksamuel commented Feb 10, 2019

The dual of eventually.

You might want to confirm that a predicate holds for a period of time. For example, you may want to confirm that a producer continues to produce new elements for a period of time, or that a http connection stays open for a period of time.

continually(5.seconds) {
  conn.isOpen().shouldBeTrue()
}
@sksamuel sksamuel added enhancement ✨ Suggestions for adding new features or improving existing ones. potential labels Feb 11, 2019
@sksamuel sksamuel added this to the 3.4 milestone Feb 14, 2019
@sksamuel sksamuel mentioned this issue Feb 16, 2019
88 tasks
@sksamuel sksamuel mentioned this issue Feb 28, 2019
20 tasks
@sksamuel sksamuel modified the milestones: 3.4, 3.3 Feb 28, 2019
sksamuel added a commit that referenced this issue Feb 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement ✨ Suggestions for adding new features or improving existing ones.
Projects
None yet
Development

No branches or pull requests

1 participant