X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Ftypes%2FWorkerSyncFunction.html;h=4bdab18c39d018112576ac87164fd6689e5dfb5d;hb=2c94c3a5da9d6b4a0ac992386907d8a406ee38f7;hp=0bd14cf49fa80f1930a768997b7808e0d3e6a1e5;hpb=2f4ae5a6c14efa15bafa4ab0e68f166ec80d719b;p=poolifier.git diff --git a/docs/types/WorkerSyncFunction.html b/docs/types/WorkerSyncFunction.html index 0bd14cf4..4bdab18c 100644 --- a/docs/types/WorkerSyncFunction.html +++ b/docs/types/WorkerSyncFunction.html @@ -1,4 +1,4 @@ -WorkerSyncFunction | poolifier
+WorkerSyncFunction | poolifier
-
WorkerSyncFunction<Data, Response>: ((data?: Data) => Response)
-
+
WorkerSyncFunction<Data, Response>: ((data?) => Response)
+

Type Parameters

-
    +
    • -

      Data = unknown

      +

      Data = unknown

      Type of data sent to the worker. This can only be serializable data.

    • -

      Response = unknown

      +

      Response = unknown

      Type of execution response. This can only be serializable data.

Type declaration

  • -
      -
    • (data?: Data): Response
    • +
        +
      • (data?): Response
      • Worker synchronous function that can be executed.

        @@ -40,10 +40,10 @@

        Parameters

        • -
          Optional data: Data
-

Returns Response

+

Theme

+
  • PoolType
  • +
  • AbstractPool
  • +
  • AbstractWorker
  • +
  • CircularArray
  • +
  • ClusterWorker
  • +
  • DynamicClusterPool
  • +
  • DynamicThreadPool
  • +
  • FixedClusterPool
  • +
  • FixedThreadPool
  • +
  • PoolEmitter
  • +
  • Queue
  • +
  • ThreadWorker
  • +
  • WorkerChoiceStrategyContext
  • +
  • ClusterPoolOptions
  • +
  • IPool
  • +
  • IWorker
  • +
  • IWorkerChoiceStrategy
  • +
  • MessageValue
  • +
  • PoolOptions
  • +
  • PromiseResponseWrapper
  • +
  • RequiredStatistics
  • +
  • Task
  • +
  • TasksQueueOptions
  • +
  • TasksUsage
  • +
  • WorkerChoiceStrategyOptions
  • +
  • WorkerNode
  • +
  • WorkerOptions
  • +
  • Draft
  • +
  • ErrorHandler
  • +
  • ExitHandler
  • +
  • KillBehavior
  • +
  • MessageHandler
  • +
  • OnlineHandler
  • +
  • PoolEvent
  • +
  • TaskFunctions
  • +
  • ThreadWorkerWithMessageChannel
  • +
  • WorkerAsyncFunction
  • +
  • WorkerChoiceStrategy
  • +
  • WorkerFunction
  • +
  • WorkerSyncFunction
  • +
  • KillBehaviors
  • +
  • PoolEvents
  • +
  • WorkerChoiceStrategies
  • Generated using TypeDoc

    \ No newline at end of file