def METHOD_NAME(loop: Any, app: Any):
    asyncio.set_event_loop(loop)
    runners = []
    def go(**kwargs):
        runner = web.AppRunner(app, **kwargs)
        runners.append(runner)
        return runner
    yield go
    for runner in runners:
        loop.run_until_complete(runner.cleanup())