Problem statement.
The waitForEvaluationDoneEvent function has a hard coded sleep time of 10 seconds between retries. Users would like to make this duration configurable. The current value of 10 seconds causes unnecessary outputs in the console logs and excessive API calls.
Describe the solution you'd like
Modify the sleep duration from 10 seconds to a variable that is set as an argument. If the argument is missing or equal to zero, then default to 10 seconds.
Problem statement. The waitForEvaluationDoneEvent function has a hard coded sleep time of 10 seconds between retries. Users would like to make this duration configurable. The current value of 10 seconds causes unnecessary outputs in the console logs and excessive API calls.
Describe the solution you'd like Modify the sleep duration from 10 seconds to a variable that is set as an argument. If the argument is missing or equal to zero, then default to 10 seconds.
Describe alternatives you've considered N/A
Additional context N/A