Observer

protected constructor(event: E, tag: String?, executor: OnEvent.Executor?, onEvent: OnEvent<Data>)(source)

Parameters

event

The event being observed.

tag

A string to help grouping/identifying observer(s).

executor

The thread context in which onEvent will be invoked in. If null, the default passed to notify from the Event processor implementation will be utilized.

onEvent

The callback to pass event data to.