import asyncio


async def stop_exposure_after(command, delay: float):
    """Waits ``delay`` before closing the shutter."""

    command.info(text="dark exposing . . .")
    await asyncio.sleep(delay)

    return True