Back to Exposed

EntityHook

docs/api/exposed-dao/org.jetbrains.exposed.v1.dao/-entity-hook/index.html

1.2.01.1 KB
Original Source

EntityHook

object EntityHook

Class responsible for providing functions that expose EntityChange state logic and entity lifecycle features for alerting triggers or customizing additional functionality.

Members

Functions

subscribe

Link copied to clipboard

fun subscribe(action: (EntityChange) -> Unit): (EntityChange) -> Unit

Registers a specific state-change action for alerts and returns the action.

unsubscribe

Link copied to clipboard

fun unsubscribe(action: (EntityChange) -> Unit)

Unregisters a specific state-change action from alerts.

Generated by Dokka © 2026 Copyright