Skip to content

on

//fluxbase-kotlin/io.github.nimbleflux.fluxbase.realtime/RealtimeChannel/on

[jvm]
fun on(event: String, config: PostgresChangesConfig? = null, callback: ChangeEventCallback): RealtimeChannel

Register a callback for a postgres_changes event type. Port of channel.on("INSERT"|"UPDATE"|"DELETE"|"*", cb) in realtime.ts.