% Generated by roxygen2: do not edit by hand % Please edit documentation in R/DBConnection-Connect.R \name{DBConnection$disconnectOnSessionEnd} \alias{DBConnection$disconnectOnSessionEnd} \title{DBConnection$disconnectOnSessionEnd} \arguments{ \item{session}{\if{html}{\out{}} The R Shiny session to register the callback with} } \value{ \if{html}{\out{}} A function to cancel the onSessionEnded callback } \description{ Registers a callback with an R Shiny session so that the connection is disconnected once the session ends. }