AggLogicalOrAggregator performs logical OR on boolean values.
| 548 | |
| 549 | // AggLogicalOrAggregator performs logical OR on boolean values. |
| 550 | type AggLogicalOrAggregator struct { |
| 551 | err atomic.Value |
| 552 | res atomic.Bool |
| 553 | hasResult atomic.Bool |
| 554 | } |
| 555 | |
| 556 | func (a *AggLogicalOrAggregator) Add(result interface{}, err error) error { |
| 557 | if err != nil { |
nothing calls this directly
no outgoing calls
no test coverage detected