def METHOD_NAME() -> Iterator[asyncio.AbstractEventLoop]:
    METHOD_NAME = asyncio.new_event_loop()
    asyncio.set_event_loop(METHOD_NAME)
    yield METHOD_NAME
    METHOD_NAME.run_until_complete(METHOD_NAME.shutdown_asyncgens())
    METHOD_NAME.close()