Skip to content

Commit 2a88bde

Browse files
committed
feat(flow): add context parameter to execute method #81
This commit adds a new parameter `context` to the `execute` method in the `TaskFlow` class. This allows for passing additional information to the method, which can be used during the execution of the flow.
1 parent 3ec6d07 commit 2a88bde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/kotlin/cc/unitmesh/devti/flow/TaskFlow.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ interface TaskFlow<Tasking> {
3535
*
3636
* @return A string representing the result of the execution.
3737
*/
38-
fun execute(): String {
38+
fun execute(context: Any): String {
3939
return ""
4040
}
4141
}

0 commit comments

Comments
 (0)