EventContext
open class EventContext<T : Event>(val eventHandler: EventHandler<T>, val event: T, val cache: MutableStringKeyedMap<Any>) : KordExKoinComponent, TranslatableContext
Light wrapper representing the context for an event handler's action.
This is what this refers to in an event handler action body. You shouldn't need to instantiate this yourself.
Parameters
eventHandler
Respective event handler for this context object.
event
Event that triggered this event handler.
cache
Data cache map shared with the defined checks.
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Cached locale variable, stored and retrieved by getLocale.
Link copied to clipboard
Current Sentry context, containing breadcrumbs and other goodies.