Skip to content

Commit 692983f

Browse files
authored
Some more
1 parent 545b674 commit 692983f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

internal/workflow/workflow.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,11 @@ func (w *workflow) Execute(ctx sync.Context, inputs []payload.Payload) error {
8181
return nil
8282
})
8383

84-
return w.s.Execute(ctx)
84+
return w.s.Execute()
8585
}
8686

87-
func (w *workflow) Continue(ctx sync.Context) error {
88-
return w.s.Execute(ctx)
87+
func (w *workflow) Continue() error {
88+
return w.s.Execute()
8989
}
9090

9191
func (w *workflow) Completed() bool {
@@ -102,7 +102,7 @@ func (w *workflow) Error() error {
102102
return w.err
103103
}
104104

105-
func (w *workflow) Close(ctx sync.Context) {
105+
func (w *workflow) Close() {
106106
// End coroutine execution to prevent goroutine leaks
107-
w.s.Exit(ctx)
107+
w.s.Exit()
108108
}

0 commit comments

Comments
 (0)