Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

  • T

  • K

  • R

Hierarchy

  • AsyncQueue

Index

Constructors

Properties

hooks: { added: SyncHook<[T], void, UnsetAdditionalOptions>; beforeAdd: AsyncSeriesHook<[T], UnsetAdditionalOptions>; beforeStart: AsyncSeriesHook<[T], UnsetAdditionalOptions>; result: SyncHook<[T, Error, R], void, UnsetAdditionalOptions>; started: SyncHook<[T], void, UnsetAdditionalOptions> }

Type declaration

Methods

  • Parameters

    Returns void

  • clear(): void
  • Returns void

  • decreaseParallelism(): void
  • Returns void

  • increaseParallelism(): void
  • Returns void

  • invalidate(item: T): void
  • Parameters

    • item: T

    Returns void

  • isDone(item: T): boolean
  • Parameters

    • item: T

    Returns boolean

  • isProcessing(item: T): boolean
  • Parameters

    • item: T

    Returns boolean

  • isQueued(item: T): boolean
  • Parameters

    • item: T

    Returns boolean

  • stop(): void
  • Returns void

  • Waits for an already started item

    Parameters

    Returns void