• This retrieves the ScratchOrgInfo, polling until the status is Active or Error

    Parameters

    • hubOrg: Org
    • scratchOrgInfoId: string

      the id of the scratchOrgInfo that we are retrieving

    • timeout: Duration = ...

      A Duration object

    Returns Promise<ScratchOrgInfo>