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? 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
I want to be able to do this.
@PerformWith(Test.class) public Action composeSingleLoop2() { return sequential( simple("print hello", () -> System.out.println("hello")), forEachOf( asList("A", "B", "C") ).withDefault( "unknown" ).concurrently( ).perform( (Context $, DataHolder<String> value) -> { String v = value.isPresent() ? value.get() : String.format("(%s)", value.get()); return $.sequential( $.simple("print the given value(1st time)", () -> System.out.println(v)), $.simple("print the given value(2nd time)", () -> System.out.println(v)), $.sleep(2, MICROSECONDS) ); } ), simple("print bye", () -> System.out.println("bye")) ); }
The text was updated successfully, but these errors were encountered:
Issue-#25: Support default value in 'ForEach' action's creation time.
668dfb3
Issue-#25: Replace Supplier in ForEach and Attempt actions with 'Valu…
21c8a36
…eHolder'.
Issue-#25: Add ValueHolder definition.
ec428dc
Issue-#25: Bump up version to 4.0 since this is an incompatible chang…
e9690b8
…e although it is small.
Issue-#25: Correct tag name in pom.xml.
9bbafdf
The value of this enhancement became unclear. Closing this for now.
Sorry, something went wrong.
dakusui
No branches or pull requests
I want to be able to do this.
The text was updated successfully, but these errors were encountered: