SetDropMask inserts the event mask in the bitset to instruct the given event type should be dropped from the event stream.
(typ event.Type)
| 180 | // instruct the given event type should be dropped from |
| 181 | // the event stream. |
| 182 | func (c *EventSourceConfig) SetDropMask(typ event.Type) { |
| 183 | c.dropMasks.Set(typ.ID()) |
| 184 | } |
| 185 | |
| 186 | // TestDropMask checks if the specified event type has |
| 187 | // the drop mask in the bitset. |