Back to Exposed

subscribe

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

1.2.0620 B
Original Source

subscribe

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

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

Samples

org.jetbrains.exposed.v1.tests.shared.entities.EntityHookTest.testCallingFlushNotifiesEntityHookSubscribers

Generated by Dokka © 2026 Copyright