X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FFixedThreadPool.html;h=c7d211d68f6016a1c3c32768bec4adf1f576cf00;hb=184d530faf6acf70e116cb4a3fb831938b73e2c0;hp=09fb7fa406096a103ebb639833008911509e28c6;hpb=bf4dcb92f8d370524a2975961731fe6c4e8b083c;p=poolifier.git diff --git a/docs/classes/FixedThreadPool.html b/docs/classes/FixedThreadPool.html index 09fb7fa4..c7d211d6 100644 --- a/docs/classes/FixedThreadPool.html +++ b/docs/classes/FixedThreadPool.html @@ -44,7 +44,7 @@ +
  • Defined in src/pools/thread/fixed.ts:34
  • @@ -57,9 +57,9 @@

    Properties

    +
  • Defined in src/pools/thread/fixed.ts:45
  • Properties

    @@ -139,35 +141,37 @@
    -
    - +
  • Defined in src/pools/abstract-pool.ts:47
  • +
    +
    filePath: string

    Path to the worker file.

    -
    - +
  • Defined in src/pools/abstract-pool.ts:82
  • +
    +
    numberOfWorkers: number

    Number of workers that this pool should manage.

    -
    - +
  • Defined in src/pools/abstract-pool.ts:81
  • +
    +

    Options for the pool.

    +
  • Defined in src/pools/abstract-pool.ts:83
  • promiseResponseMap: Map<string, PromiseResponseWrapper<ThreadWorkerWithMessageChannel, Response>> = ...
    @@ -180,7 +184,7 @@
    +
  • Defined in src/pools/abstract-pool.ts:57
  • workerChoiceStrategyContext: WorkerChoiceStrategyContext<ThreadWorkerWithMessageChannel, Data, Response>
    @@ -189,7 +193,7 @@
    +
  • Defined in src/pools/abstract-pool.ts:67
  • workerNodes: WorkerNode<ThreadWorkerWithMessageChannel, Data>[] = []
    @@ -197,7 +201,7 @@
    +
  • Defined in src/pools/abstract-pool.ts:44
  • Accessors

    @@ -211,53 +215,75 @@

    Returns boolean

    -
    +
  • Defined in src/pools/thread/fixed.ts:120
  • +
    -
    +
    + +
    -
    - -
    +
    + +
    -
    - -
    +
    + +
    -
    - -
    +
    + +
    +
  • Defined in src/pools/thread/fixed.ts:100
  • +
    + +

    Methods

    @@ -276,13 +302,13 @@ Can be overridden.

    The worker.

  • -
    message: MessageValue<Response, unknown>
    +
    message: MessageValue<Response, Worker | MessagePort>

    The received message.

  • Returns void

    +
  • Defined in src/pools/abstract-pool.ts:464
  • +
  • Defined in src/pools/thread/fixed.ts:90
  • +
  • Defined in src/pools/abstract-pool.ts:453
  • +
  • Defined in src/pools/abstract-pool.ts:532
  • +
  • Defined in src/pools/abstract-pool.ts:596
  • +
  • Defined in src/pools/thread/fixed.ts:83
  • +
  • Defined in src/pools/abstract-pool.ts:415
  • +
  • Defined in src/pools/thread/fixed.ts:59
  • +
  • Defined in src/pools/abstract-pool.ts:325
  • Returns Promise<Response>

    Promise that will be fulfilled when the task is completed.

    +
  • Defined in src/pools/abstract-pool.ts:380
  • +
  • Defined in src/pools/abstract-pool.ts:371
  • +
  • Defined in src/pools/thread/fixed.ts:54
  • Returns void

    Returns void

    +
  • Defined in src/pools/thread/fixed.ts:75
  • Returns void

    +
  • Defined in src/pools/thread/fixed.ts:67
  • +
  • Defined in src/pools/abstract-pool.ts:337
  • +
  • Defined in src/pools/abstract-pool.ts:284
  • +
  • Defined in src/pools/abstract-pool.ts:314
  • +
  • Defined in src/pools/abstract-pool.ts:438
  • Returns void

    The listener function to execute when a message is received from a worker.

    +
  • Defined in src/pools/abstract-pool.ts:629
  • +
  • PoolTypes
  • +
  • WorkerChoiceStrategies
  • +
  • WorkerTypes
  • Generated using TypeDoc

    \ No newline at end of file