library / io.getstream.chat.android.livedata.utils / EventObserver / <init>

<init>

EventObserver(onEventUnhandledContent: (T) -> Unit)

An Observer for Events, simplifying the pattern of checking if the Event's content has already been handled.

onEventUnhandledContent is only called if the Event's contents has not been handled.