Interface CachingTaskList

List of caching tasks.

interface CachingTaskList {
    length: number;
    addEventListener<TType>(type: TType | readonly TType[], listener: EventListener<CachingTaskListEventMap[TType]>): void;
    item(index: number): undefined | CachingTask;
    removeEventListener<TType>(type: TType | readonly TType[], listener: EventListener<CachingTaskListEventMap[TType]>): void;
}

Hierarchy (view full)

Properties

length: number

The number of items in the list.

Methods

  • Returns the object representing the nth item in the list.

    Parameters

    • index: number

      The index of the item to retrieve.

    Returns undefined | CachingTask