async def shutdown_scheduler(app: Application):
    "\n    Attempt to the close the app's `aiojobs` scheduler.\n\n    :param app: The application object\n    "
    scheduler = get_scheduler_from_app(app)
    (await scheduler.close())
Attempt to the close the app's `aiojobs` scheduler.

:param app: The application object
async def shutdown_scheduler(app: Application):
    "\n    Attempt to the close the app's `aiojobs` scheduler.\n\n    :param app: The application object\n    "
    scheduler = get_scheduler_from_app(app)
    (await scheduler.close())