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

Add await until() #194

Open
MulverineX opened this issue Feb 24, 2023 · 0 comments
Open

Add await until() #194

MulverineX opened this issue Feb 24, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@MulverineX
Copy link
Member

await until(condition: ConditionNode, pollRate: TimeArgument)

Will poll until the condition is met instead of a timer or a nested while. pollRate runs off a global loop; possible delay till first check is 0..pollRate. Evaluates to setting a temp score to the global until score (for the pollRate), adding to the global until score, adding to the local until score, & if the temp score is 0 will run the global loop. When a local until terminates it will subtract from the global & local until scores. If a local until score reaches 0 the condition will not be tested (add visitor for command conditions). If the global until score (for the pollRate) reaches 0, do not continue the loop.

@MulverineX MulverineX added the enhancement New feature or request label Feb 24, 2023
@MulverineX MulverineX added this to the Future Release milestone Feb 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant