Skip to content

Commit fd60b14

Browse files
committed
Extends BiFunction
Signed-off-by: Ricardo Zanini <[email protected]>
1 parent 3b203aa commit fd60b14

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

experimental/fluent/func/src/main/java/io/serverlessworkflow/fluent/func/dsl/UniqueIdBiFunction.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
*/
1616
package io.serverlessworkflow.fluent.func.dsl;
1717

18+
import java.util.function.BiFunction;
19+
1820
/**
1921
* Functions that expect a unique ID injection in runtime, typically an idempotent generated unique
2022
* id based on the workflow instance id and task name.
@@ -23,6 +25,6 @@
2325
* @param <R> The task result output
2426
*/
2527
@FunctionalInterface
26-
public interface UniqueIdBiFunction<T, R> {
28+
public interface UniqueIdBiFunction<T, R> extends BiFunction<String, T, R> {
2729
R apply(String uniqueId, T object);
2830
}

0 commit comments

Comments
 (0)