streamEventWhereBy method

Stream<EventAction<T>> streamEventWhereBy(
  1. bool predicate(
    1. T event
    )
)

根据条件过滤事件

Implementation

Stream<EventAction<T>> streamEventWhereBy(bool Function(T event) predicate) {
  return _eventActionSubject.where(
    (action) => predicate(action.event),
  );
}