where method

Adds field filters to the subscription.

See all(..), either(..), eq(..), le(..), ge(..), lt(..), gt(..).

If called multiple times, the composite filters are composed with the ALL operator, i.e. an event should pass all of the composite filters to match the subscription.

Implementation

EventSubscriptionRequest<M> where(FilterOrComposite filter) {
    _filers.add(filter._toProto());
    return this;
}