pub fn shutdown_function(mut self, func: StartupShutdownFunc) -> Self {
        self.shutdown_func = Some(func);
        self
    }
Sets the shutdown function for the extension.

# Arguments

* `func` - The function to be called on shutdown.
src/builders/module.rs