import time
from time import sleep as pause


async def poll(client):
    while not await client.ready():
        time.sleep(0.5)  # cotterpin:expect
    pause(1)  # cotterpin:expect
    return await client.result()
