async def METHOD_NAME(ipkernel: IPythonKernel) -> None:
    shell_future: asyncio.Future = asyncio.Future()
    control_future: asyncio.Future = asyncio.Future()
    async def fake_dispatch_queue():
        shell_future.set_result(None)
    async def fake_poll_control_queue():
        control_future.set_result(None)
    ipkernel.dispatch_queue = fake_dispatch_queue  # type:ignore
    ipkernel.poll_control_queue = fake_poll_control_queue  # type:ignore
    ipkernel.debugpy_stream = None
    ipkernel.start()
    await shell_future
    await control_future