X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FCircularArray.html;h=f209f9d72aefb4f3639dfb9e1b0c4d13e18e442b;hb=609154c50b1ec3ae5e43bad3055a610bfa054d21;hp=35d34e69ed40306cb7b0dc3d9986cf62f6014ff7;hpb=8d98e603c79d8d00b2b6a33e5f732701a7466234;p=poolifier.git diff --git a/docs/classes/CircularArray.html b/docs/classes/CircularArray.html index 35d34e69..f209f9d7 100644 --- a/docs/classes/CircularArray.html +++ b/docs/classes/CircularArray.html @@ -17,7 +17,8 @@

Class CircularArray<T>

Array with a maximum length and shifting items when full.

-
+ +

Type Parameters

+
  • Defined in src/circular-array.ts:8
  • @@ -38,64 +39,64 @@

    Constructors

    - +
    +
  • Defined in src/circular-array.ts:11
  • Properties

    - +
    [unscopables]: {
        [unscopables]?: boolean;
        length?: boolean;
        [iterator]?: any;
        at?: any;
        concat?: any;
        copyWithin?: any;
        entries?: any;
        every?: any;
        fill?: any;
        filter?: any;
        find?: any;
        findIndex?: any;
        flat?: any;
        flatMap?: any;
        forEach?: any;
        includes?: any;
        indexOf?: any;
        join?: any;
        keys?: any;
        lastIndexOf?: any;
        map?: any;
        pop?: any;
        push?: any;
        reduce?: any;
        reduceRight?: any;
        reverse?: any;
        shift?: any;
        slice?: any;
        some?: any;
        sort?: any;
        splice?: any;
        toLocaleString?: any;
        toString?: any;
        unshift?: any;
        values?: any;
    }

    Is an object whose properties have the value 'true' when they will be absent when used in a 'with' statement.

    @@ -128,29 +129,33 @@ when they will be absent when used in a 'with' statement.

    Optional Readonly [unscopables]?: boolean

    Is an object whose properties have the value 'true' when they will be absent when used in a 'with' statement.

    -
    +
    +
  • Optional length?: boolean

    Gets or sets the length of the array. This is a number one higher than the highest index in the array.

    -
  • - +
    length: number

    Gets or sets the length of the array. This is a number one higher than the highest index in the array.

    -
    - +
    size: number
    +
  • Defined in src/circular-array.ts:9
  • - +
    [species]: ArrayConstructor
    - +

    Returns void

    +
  • Defined in src/circular-array.ts:88
  • - +
    +
  • Defined in src/circular-array.ts:39
  • - + -

    Returns CircularArray<T>

    - +
    +
  • Defined in src/circular-array.ts:80
  • - +
    - +
    - + -

    Returns CircularArray<T>

    - +
    - +
    - +
    - + -

    Returns FlatArray<A, D>[]

    - + +

    Returns U[]

    +
    - +
    - +
    +
  • Defined in src/circular-array.ts:84
  • - + -

    Returns boolean

    - + -

    Returns number

    - + -

    Returns string

    - +
    - + -

    Returns number

    - +
    - +
    - +
    +
  • Defined in src/circular-array.ts:21
  • - + -

    Returns T

    - +
  • Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.

    @@ -933,6 +994,7 @@ If the array is empty, undefined is returned and the array is not modified.

    callbackfn: ((previousValue, currentValue, currentIndex, array) => U)

    A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.

    +
    +

    Returns U

    +
  • - + -

    Returns T

    - +
  • Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.

    @@ -1039,6 +1105,7 @@ If the array is empty, undefined is returned and the array is not modified.

    callbackfn: ((previousValue, currentValue, currentIndex, array) => U)

    A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.

    +
    +

    Returns U

    +
  • - +

    Returns void

    +
  • Defined in src/circular-array.ts:68
  • - +
    - +
    - + -

    Returns T[]

    - +
    - + -

    Returns CircularArray<T>

    - +
    +
  • Defined in src/circular-array.ts:54
  • - +
    - +
    - +
    +
  • Defined in src/circular-array.ts:30
  • - +
    - + -

    Returns T[]

    - +
    - + -

    Returns T[]

    @@ -1442,7 +1538,7 @@ value otherwise. If omitted, the elements are sorted in ascending, ASCII charact +
  • constructor
  • +
  • [unscopables]
  • +
  • length
  • +
  • size
  • +
  • [species]
  • +
  • [iterator]
  • +
  • at
  • +
  • checkSize
  • +
  • concat
  • +
  • copyWithin
  • +
  • empty
  • +
  • entries
  • +
  • every
  • +
  • fill
  • +
  • filter
  • +
  • find
  • +
  • findIndex
  • +
  • flat
  • +
  • flatMap
  • +
  • forEach
  • +
  • full
  • +
  • includes
  • +
  • indexOf
  • +
  • join
  • +
  • keys
  • +
  • lastIndexOf
  • +
  • map
  • +
  • pop
  • +
  • push
  • +
  • reduce
  • +
  • reduceRight
  • +
  • resize
  • +
  • reverse
  • +
  • shift
  • +
  • slice
  • +
  • some
  • +
  • sort
  • +
  • splice
  • +
  • toLocaleString
  • +
  • toString
  • +
  • unshift
  • +
  • values
  • +
  • from
  • +
  • isArray
  • +
  • of
  • +
  • AbstractPool
  • +
  • AbstractWorker
  • +
  • CircularArray
  • +
  • ClusterWorker
  • +
  • DynamicClusterPool
  • +
  • DynamicThreadPool
  • +
  • FixedClusterPool
  • +
  • FixedThreadPool
  • +
  • PoolEmitter
  • +
  • Queue
  • +
  • ThreadWorker
  • +
  • WorkerChoiceStrategyContext
  • +
  • ClusterPoolOptions
  • +
  • IPool
  • +
  • IWorker
  • +
  • IWorkerChoiceStrategy
  • +
  • MessageValue
  • +
  • PoolInfo
  • +
  • PoolOptions
  • +
  • PromiseResponseWrapper
  • +
  • Task
  • +
  • TaskStatistics
  • +
  • TasksQueueOptions
  • +
  • TasksUsage
  • +
  • WorkerChoiceStrategyOptions
  • +
  • WorkerNode
  • +
  • WorkerOptions
  • +
  • Draft
  • +
  • ErrorHandler
  • +
  • ExitHandler
  • +
  • KillBehavior
  • +
  • MessageHandler
  • +
  • OnlineHandler
  • +
  • PoolEvent
  • +
  • PoolType
  • +
  • TaskFunctions
  • +
  • ThreadWorkerWithMessageChannel
  • +
  • WorkerAsyncFunction
  • +
  • WorkerChoiceStrategy
  • +
  • WorkerFunction
  • +
  • WorkerSyncFunction
  • +
  • WorkerType
  • +
  • KillBehaviors
  • +
  • PoolEvents
  • +
  • PoolTypes
  • +
  • WorkerChoiceStrategies
  • +
  • WorkerTypes
  • Generated using TypeDoc

    \ No newline at end of file