func ActionToFunc()

in task.go [21:25]


func ActionToFunc(action func(context.Context) error) func(context.Context) (any, error) {
	return func(ctx context.Context) (any, error) {
		return nil, action(ctx)
	}
}