Options
All
  • Public
  • Public/Protected
  • All
Menu

Implementation of a queue data structure with support of task merging by a specified hash function

Type parameters

  • T

    the queue element

Hierarchy

Index

Constructors

Properties

InnerQueue: InnerQueue<string>

Type: the internal queue to store elements

createInnerQueue: CreateInnerQueue<InnerQueue<string>> = ...

Returns a new blank internal queue to store elements

hashFn: HashFn<T>

A function to calculate task hashes

innerQueue: InnerQueue<string>

The internal queue to store elements

tasksMap: Map<string, T> = ...

A map of registered tasks

Accessors

  • get length(): number

Methods

  • [iterator](): IterableIterator<T>
  • clear(): void
  • push(task: T): number
  • unshift(el: T): number
  • values(): IterableIterator<T>