- set-notify-handler! CONN HANDLERprocedure
When you have an existing connection CONN, this procedure can update its NOTIFY handler to a new value.
HANDLER must be a procedure of three arguments, or #f if you don't want to handle notifications. The three arguments are: A channel name (string), the PID of the backend which triggered the NOTIFY (integer) and the notification payload (string).