Interface for the parameters of the makeAutoDispose function.
Optional
Optional callback invoked when the session is closed. Called after the auto-dispose mechanism triggers and the session is successfully disposed.
Interface for the parameters of the makeAutoDispose function.