Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CogniteAsyncIterator<T, TReturn, TNext>

Type parameters

  • T

  • TReturn = any

  • TNext = undefined

Hierarchy

  • AsyncIterableIterator<T>
    • CogniteAsyncIterator

Index

Properties

autoPagingEach

autoPagingEach: AutoPagingEach<T>

autoPagingToArray

autoPagingToArray: AutoPagingToArray<T>

Methods

[Symbol.asyncIterator]

  • [Symbol.asyncIterator](): AsyncIterableIterator<T>

next

  • next(...args: [] | [TNext]): Promise<IteratorResult<T, TReturn>>
  • Parameters

    • Rest ...args: [] | [TNext]

    Returns Promise<IteratorResult<T, TReturn>>

Optional return

  • return(value?: TReturn | PromiseLike<TReturn>): Promise<IteratorResult<T, TReturn>>
  • Parameters

    • Optional value: TReturn | PromiseLike<TReturn>

    Returns Promise<IteratorResult<T, TReturn>>

Optional throw

  • throw(e?: any): Promise<IteratorResult<T, TReturn>>
  • Parameters

    • Optional e: any

    Returns Promise<IteratorResult<T, TReturn>>