Universal Robots TypeScript API - v10.12.0
    Preparing search index...

    Class AsyncArrayTraverser<T>

    An asynchronous array iterator

    Type Parameters

    • T

    Implements

    • AsyncIterableIterator<T>
    Index

    Constructors

    Properties

    Methods

    Constructors

    • Type Parameters

      • T

      Parameters

      • nodes: T[]

        the array of nodes to iterate

      Returns AsyncArrayTraverser<T>

    Properties

    pointer: number
    values: T[]

    Methods

    • returns the asynchronous iterator

      Returns AsyncIterableIterator<T>

    • provide the next element for the iterator

      Returns Promise<IteratorResult<T, any>>