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

Able to access recoverWith() without providing a timeout #28

Closed
kenfinnigan opened this issue Sep 10, 2019 · 1 comment · Fixed by #43
Closed

Able to access recoverWith() without providing a timeout #28

kenfinnigan opened this issue Sep 10, 2019 · 1 comment · Fixed by #43
Labels
bug Something isn't working
Milestone

Comments

@kenfinnigan
Copy link
Collaborator

It's possible to do:

uni.onNoItem().recoverWithItem(defaultValue)

without having set a timeout. However, the code then fails because a timeout isn't set

@kenfinnigan kenfinnigan added the bug Something isn't working label Sep 10, 2019
@cescoffier
Copy link
Contributor

An intermediate group is required to avoid have access to the method without the timeout.

cescoffier added a commit that referenced this issue Dec 10, 2019
cescoffier added a commit that referenced this issue Dec 10, 2019
…HAveTimeout

Fix #28 - It should not be possible to not set the timeout
@cescoffier cescoffier added this to the 0.2.0 milestone Dec 10, 2019
@cescoffier cescoffier modified the milestones: 0.2.0, 0.1.1 Dec 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants