Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Iterable<T>

Abstract class representing an iterable, lazy-loaded dataset.

abstract

Type parameters

  • T

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Protected index

index: number = 0

The current index of the iterable.

Methods

all

Abstract at

  • at(i: number): Promise<undefined | T>
  • Get the item of this iterable at the given index, if one exists.

    Parameters

    • i: number

    Returns Promise<undefined | T>

    Promise<any|undefined>

chunk

Abstract clone

Abstract count

  • count(): Promise<number>

next

peek

  • peek(): Promise<undefined | T>

Abstract range

  • range(start: number, end: number): Promise<Collection<T>>

reset

  • reset(): Promise<void>

seek

  • seek(index: number): Promise<void>
Extollo Logo

extollo (v. latin) - to lift up, to elevate

Extollo is a free & libre application framework in TypeScript.