I have a closure object in a groovy script that I'm trying to port to painless. What is the proper syntax to do this?
closure object is something like:
> def myClosure
> myClosure = { oneMap, otherMap ->
> ...
> [output 1, output2]
> }
> outputList = myClosure(inMap1, inMap2)