X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FPromiseResponseWrapper.html;h=dfefa41ffc30f84962a0898a2e13f979ade46760;hb=b667be1103b9362ae29d094de05f812468464d4f;hp=beb1e50aa4df67b39042a3eebcf05c902fefcc13;hpb=e1d3eccbb484bfbe36f6dcb9c4ef22a11621a00b;p=poolifier.git diff --git a/docs/interfaces/PromiseResponseWrapper.html b/docs/interfaces/PromiseResponseWrapper.html index beb1e50a..dfefa41f 100644 --- a/docs/interfaces/PromiseResponseWrapper.html +++ b/docs/interfaces/PromiseResponseWrapper.html @@ -1,4 +1,4 @@ -PromiseResponseWrapper | poolifier
+PromiseResponseWrapper | poolifier - v2.6.8
  • Preparing search index...
  • -
  • The search index is not available
poolifier
+
  • The search index is not available
  • poolifier - v2.6.8
    @@ -17,24 +17,27 @@

    Interface PromiseResponseWrapper<Worker, Response>Internal

    An object holding the execution response promise resolve/reject callbacks.

    -
    -
    +
    +
    +

    Type Parameters

    -
    +

    Response = unknown

    +

    Type of execution response. This can only be structured-cloneable data.

    +
    +

    Hierarchy

    +
  • Defined in src/utility-types.ts:101
  • @@ -42,21 +45,21 @@

    Properties

    -
    - -
    reject: ((reason?: string) => void)
    +
    + +
    reject: ((reason?) => void)

    Type declaration

    • -
        -
      • (reason?: string): void
      • +
          +
        • (reason?): void
        • Reject callback to reject the promise.

          @@ -64,19 +67,20 @@

          Parameters

          • -
            Optional reason: string
    -

    Returns void

    -
    - -
    resolve: ((value: Response) => void)
    +
  • Defined in src/utility-types.ts:112
  • +
    + +
    resolve: ((value) => void)

    Type declaration

    • -
        -
      • (value: Response): void
      • +
          +
        • (value): void
        • Resolve callback to fulfill the promise.

          @@ -84,22 +88,24 @@

          Parameters

          • -
            value: Response
    -

    Returns void

    -
    - -
    worker: Worker
    +
  • Defined in src/utility-types.ts:108
  • +
    + +
    worker: Worker

    The worker handling the execution.

    -
    +
  • Defined in src/utility-types.ts:116
  • -

    On This Page

    +

    On This Page

    +
  • reject
  • +
  • resolve
  • +
  • worker
  • +
  • AbstractPool
  • +
  • AbstractWorker
  • +
  • CircularArray
  • +
  • ClusterWorker
  • +
  • DynamicClusterPool
  • +
  • DynamicThreadPool
  • +
  • FixedClusterPool
  • +
  • FixedThreadPool
  • +
  • PoolEmitter
  • +
  • Queue
  • +
  • ThreadWorker
  • +
  • WorkerChoiceStrategyContext
  • +
  • ClusterPoolOptions
  • +
  • EventLoopUtilizationMeasurementStatistics
  • +
  • IPool
  • +
  • IWorker
  • +
  • IWorkerChoiceStrategy
  • +
  • MeasurementOptions
  • +
  • MeasurementStatistics
  • +
  • MeasurementStatisticsRequirements
  • +
  • MessageValue
  • +
  • PoolInfo
  • +
  • PoolOptions
  • +
  • PromiseResponseWrapper
  • +
  • StrategyPolicy
  • +
  • Task
  • +
  • TaskError
  • +
  • TaskPerformance
  • +
  • TaskStatistics
  • +
  • TaskStatisticsRequirements
  • +
  • TasksQueueOptions
  • +
  • ThreadPoolOptions
  • +
  • WorkerChoiceStrategyOptions
  • +
  • WorkerInfo
  • +
  • WorkerNode
  • +
  • WorkerOptions
  • +
  • WorkerStatistics
  • +
  • WorkerUsage
  • +
  • ErrorHandler
  • +
  • ExitHandler
  • +
  • KillBehavior
  • +
  • Measurement
  • +
  • MessageHandler
  • +
  • OnlineHandler
  • +
  • PoolEvent
  • +
  • PoolType
  • +
  • TaskFunctions
  • +
  • WorkerAsyncFunction
  • +
  • WorkerChoiceStrategy
  • +
  • WorkerFunction
  • +
  • WorkerSyncFunction
  • +
  • WorkerType
  • +
  • KillBehaviors
  • +
  • Measurements
  • +
  • PoolEvents
  • +
  • PoolTypes
  • +
  • WorkerChoiceStrategies
  • +
  • WorkerTypes
  • +
  • availableParallelism
  • Generated using TypeDoc

    \ No newline at end of file