migrate
This commit is contained in:
@@ -17,9 +17,6 @@ func (t TestArgs) Validate() error {
|
||||
}
|
||||
|
||||
func TestAsyncFunction(t *testing.T) {
|
||||
registryMutex.RLock()
|
||||
defer registryMutex.RUnlock()
|
||||
|
||||
RegisterAsyncFunction("testAsync", func(_ context.Context, args TestArgs) (string, error) {
|
||||
return "result: " + args.Field1, nil
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user