notify

fun notify(default: OnEvent.Executor, data: Data)

Invokes OnEvent with the provided data

Parameters

default

the default OnEvent.Executor to fall back to if no executor was not defined for this observer.


fun notify(handler: CoroutineContext, default: OnEvent.Executor, data: Data)

Invokes OnEvent with the provided data

Parameters

handler

Optional ability to pass UncaughtException.Handler wrapped as a CoroutineExceptionHandler to use with coroutine dispatchers. (See UncaughtException.Handler.uncaughtExceptionHandlerOrNull)

default

the default OnEvent.Executor to fall back to if no executor was not defined for this observer.