filterNotifications

inline fun <T : Any> Observable<T>.filterNotifications(crossinline predicate: (Notification<T>) -> Boolean): Observable<T>

Function to peek emissions and possibly filter them out based on a given predicate.

Parameters

predicate

filter function to decide whether a given emission will actually be emitted