• Stops an instance by its ID.

    Parameters

    • id: string

      The ID of the instance to stop.

    • Optional client: ScrapybaraClient

      Optional client to use for stopping the instance.

    Returns Promise<void>

    A promise that resolves when the instance is stopped.