GetPipeableMinArgCount returns the configured minimum pipeable arg count, or 2 if not set.
()
| 239 | |
| 240 | // GetPipeableMinArgCount returns the configured minimum pipeable arg count, or 2 if not set. |
| 241 | func (e *ResolvedEffectPluginOptions) GetPipeableMinArgCount() int { |
| 242 | if e != nil && e.PipeableMinArgCount > 0 { |
| 243 | return e.PipeableMinArgCount |
| 244 | } |
| 245 | return 2 |
| 246 | } |
| 247 | |
| 248 | // DefaultKeyPatterns is the default key patterns configuration. |
| 249 | var DefaultKeyPatterns = []KeyPattern{ |
no outgoing calls