InvokeTransform is the callback signature for the transforms
resource option for invokes. A transform is passed the same set of inputs
provided to the Invoke constructor, and can optionally return back
alternate values for the args and/or opts prior to the invoke actually
being executed. The effect will be as though those args and opts were passed
in place of the original call to the Invoke. If the transform
returns nil, this indicates
that the Invoke
InvokeTransform is the callback signature for the
transformsresource option for invokes. A transform is passed the same set of inputs provided to the Invoke constructor, and can optionally return back alternate values for theargsand/oroptsprior to the invoke actually being executed. The effect will be as though those args and opts were passed in place of the original call to the Invoke. If the transform returns nil, this indicates that the Invoke