Interface CachingTaskList

List of caching tasks.

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

Hierarchy (View Summary)

Indexable

  • [index: number]: CachingTask

    The object representing the nth in the list.

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