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

Wait for state #46

Open
konstantinvlasenko opened this issue Jun 11, 2013 · 3 comments
Open

Wait for state #46

konstantinvlasenko opened this issue Jun 11, 2013 · 3 comments
Assignees

Comments

@konstantinvlasenko
Copy link
Owner

|wait|$x -eq $true|

@mikeplavsky
Copy link
Collaborator

It would be a really useful addition!

@mikeplavsky
Copy link
Collaborator

the wait meaning is it does poll every 1 second the expression value. As soon as it becomes $true it stops polling. If any $error happens it stops polling and returns $error. If the expression does not become $true in a minute, it stops polling and returns a Timeout error.

@EKibort
Copy link

EKibort commented Jun 13, 2013

Good idea! Would be good to have ability to specify timeout.

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

No branches or pull requests

3 participants