AlexStocks commented on code in PR #744: URL: https://github.com/apache/incubator-seata-go/pull/744#discussion_r1889532701
########## pkg/saga/statemachine/engine/invoker/func_invoker.go: ########## @@ -0,0 +1,114 @@ +package invoker + +import ( + "context" + "errors" + "reflect" + "sync" + + "github.com/seata/seata-go/pkg/saga/statemachine/statelang/state" + "github.com/seata/seata-go/pkg/util/log" +) + +type FuncInvoker struct { + services map[string]FuncService + ServicesMapLock sync.Mutex Review Comment: Put the lock on its guard object -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@seata.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@seata.apache.org For additional commands, e-mail: notifications-h...@seata.apache.org