We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7656f35 + 4647213 commit 53a5a02Copy full SHA for 53a5a02
workflow/sideeffect.go
@@ -7,7 +7,7 @@ import (
7
"github.com/cschleiden/go-workflows/internal/workflowstate"
8
)
9
10
-func SideEffect[TResult any](ctx sync.Context, f func(ctx sync.Context) TResult) Future[TResult] {
+func SideEffect[TResult any](ctx Context, f func(ctx Context) TResult) Future[TResult] {
11
future := sync.NewFuture[TResult]()
12
13
if ctx.Err() != nil {
0 commit comments