SourceEventHandler

data class SourceEventHandler(val event: String, val handler: (Any?) -> Unit)

Registered source event name and callback (future hook parity with JS event bus).

Constructors

Link copied to clipboard
constructor(event: String, handler: (Any?) -> Unit)

Properties

Link copied to clipboard

Event key.

Link copied to clipboard
val handler: (Any?) -> Unit

Invoked when the source emits the event.