Type Parameters

  • T

Hierarchy

  • PendingWorkPool<T>
    • FetcherPool

Constructors

Properties

coordinatorJob: undefined | JobRunner
debouncedJob: undefined | DebouncedJobRunner
options: FetcherPoolOptions<T> & PendingWorkOptions<T>
skipSleep: boolean
workFetcher: Record<string, BaseHistoryFetcher<any>> = {}

Methods

  • Parameters

    • work: PendingWork<T> | PendingWork<T>[]

    Returns Promise<void>

  • Parameters

    • works: PendingWork<T>[]

    Returns Promise<PendingWork<T>[]>

  • Parameters

    • signature: string

    Returns Promise<undefined | PendingWork<T>>

  • Returns Promise<number>

  • Returns Promise<undefined | PendingWork<T>>

  • Parameters

    • Optional chunkSize: number

    Returns Promise<Generator<Promise<void>, any, unknown>>

  • Parameters

    • works: PendingWork<T>[]

    Returns Promise<number | void>

  • Returns Promise<void>

  • Parameters

    • pendingWorkGen: AsyncIterator<StorageEntry<string, PendingWork<T>>, any, undefined>
    • size: number

    Returns Promise<PendingWork<T>[]>

  • Parameters

    • work: PendingWork<T> | PendingWork<T>[]

    Returns Promise<void>

  • Returns Promise<number>

  • Returns void

  • Returns Promise<void>

  • Returns Promise<void>

Generated using TypeDoc