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

feat: introduce experimental withTimeout helper #355

Merged
merged 1 commit into from Mar 18, 2022

Conversation

antongolub
Copy link
Contributor

closes #349

  • Tests pass
  • Appropriate changes to README are included in PR

@antonmedv
Copy link
Collaborator

Nice 👌🏻 This PR got me thinking 🤔 is there a way to create a combination of retry w/ withTimeout?

It will be really nice API if it’s possible to combine different methods.

@antongolub
Copy link
Contributor Author

antongolub commented Mar 18, 2022

I’m still suggesting to introduce internal factory f(opts) => ZxTemplate and assign a hook for each opt[smth]

@antongolub
Copy link
Contributor Author

I'd like to refactor zx internals in separate commits. This one is complete, atomic and just brings the new api.

@antonmedv antonmedv merged commit 504a844 into google:main Mar 18, 2022
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.

Define timeout for spawned processes
2 participants