Interface DynamicVariableCapture<RESULT>


public interface DynamicVariableCapture<RESULT>

Any type implementing [DynamicVariableCapture] will allow a caller to extract a map of names and values from it. The implementor of [

invalid reference
#capture(List)
] is responsible for extracting the dynamic values,

but the caller is expected to use a standard component to do type verification

In cases where a type assertion is provided, the values captured dynamically will be subject to an additional phase of type validation and coercion. If required types are not compatible a variable capture error should be thrown.