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
()
| 184 | // The custom activation is currently managed higher up in the stack within the 'cel' package |
| 185 | // and should not require any custom support on behalf of callers. |
| 186 | func InterruptableEval() PlannerOption { |
| 187 | return CustomDecoratorV2(decInterruptFolds()) |
| 188 | } |
| 189 | |
| 190 | // Optimize will pre-compute operations such as list and map construction and optimize |
| 191 | // call arguments to set membership tests. The set of optimizations will increase over time. |