MonitoringEvent

class MonitoringEvent<Param : Any, Event>(event: Event) : Hook<(Param) -> Unit>

A shortcut hook for ApplicationEnvironment.monitor subscription.

Constructors

Link copied to clipboard
fun <Event> MonitoringEvent(event: Event)

Functions

Link copied to clipboard
open override fun install(pipeline: ApplicationCallPipeline, handler: (Param) -> Unit)

Specifies how to install a hook in the pipeline.