InterruptableEval annotates comprehension loops with information that indicates they should check the `#interrupted` state within a custom Activation. The custom activation is currently managed higher up in the stack within the 'cel' package and should not require any custom support on behalf of ca
()
| 193 | // The custom activation is currently managed higher up in the stack within the 'cel' package |
| 194 | // and should not require any custom support on behalf of callers. |
| 195 | func InterruptableEval() PlannerOption { |
| 196 | return CustomDecoratorV2(decInterruptFolds()) |
| 197 | } |
| 198 | |
| 199 | // Optimize will pre-compute operations such as list and map construction and optimize |
| 200 | // call arguments to set membership tests. The set of optimizations will increase over time. |