@property
def on_exit(self):
    'The handler to invoke before the application exits.\n\n        Returns:\n            The function ``callable`` that is called on application exit.\n        '
    return self._on_exit
The handler to invoke before the application exits.

Returns:
    The function ``callable`` that is called on application exit.
@property
def on_exit(self):
    'The handler to invoke before the application exits.\n\n        Returns:\n            The function ``callable`` that is called on application exit.\n        '
    return self._on_exit