We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
When passed as a parameter for Wait.waitFor() or Parallel.doAction(), lambda functions will block for a good few seconds at runtime:
Wait.waitFor()
Parallel.doAction()
System.out.println("Before"); Parallel.doAction( () -> { System.out.println("While"); }); System.out.println("After");
The delay betweek "Before" and "While" is a few seconds long.
Writing the implementation of the Functional Interface fixes this issue:
System.out.println("Before"); Action a = new Action() { @Override public void execute() { System.out.println("While"); } }; Parallel.doAction(a); System.out.println("After");
The delay between "Before" and "While" is unnoticeable.
The text was updated successfully, but these errors were encountered:
remove hotfixed code until #1 is fixed
79787d6
johnmeshulam
No branches or pull requests
When passed as a parameter for
Wait.waitFor()
orParallel.doAction()
, lambda functions will block for a good few seconds at runtime:The delay betweek "Before" and "While" is a few seconds long.
Writing the implementation of the Functional Interface fixes this issue:
The delay between "Before" and "While" is unnoticeable.
The text was updated successfully, but these errors were encountered: