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

[v5] Remove waitFor timeout #4435

Merged
merged 2 commits into from
Nov 7, 2023
Merged

Conversation

davidkpiano
Copy link
Member

The default timeout for waitFor(...) is now Infinity instead of 10 seconds.

Copy link

changeset-bot bot commented Nov 7, 2023

🦋 Changeset detected

Latest commit: 855a0ae

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
xstate Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

codesandbox-ci bot commented Nov 7, 2023

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 855a0ae:

Sandbox Source
XState Example Template Configuration
XState React Template Configuration

@@ -12,7 +12,7 @@ interface WaitForOptions {
}

const defaultWaitForOptions: WaitForOptions = {
timeout: 10_000 // 10 seconds
timeout: Infinity // much more than 10 seconds
Copy link
Member

Choose a reason for hiding this comment

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

😂

@davidkpiano davidkpiano merged commit 37d8793 into next Nov 7, 2023
1 check passed
@davidkpiano davidkpiano deleted the v5/remove-waitfor-default-timeout branch November 7, 2023 15:10
@github-actions github-actions bot mentioned this pull request Nov 7, 2023
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