X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fpools%2Fthread%2Ffixed.ts;h=a8161f6783f764831ef632bc4d48205419ab1850;hb=d25a8ffcc8447163ac52832bd9a4f8819983f819;hp=cd414502cfd8a706e8d30836b23a90ce64c35a91;hpb=a05c10de598321c3ad8005f32b1cd082ec1500f5;p=poolifier.git diff --git a/src/pools/thread/fixed.ts b/src/pools/thread/fixed.ts index cd414502..a8161f67 100644 --- a/src/pools/thread/fixed.ts +++ b/src/pools/thread/fixed.ts @@ -16,8 +16,8 @@ export type ThreadWorkerWithMessageChannel = Worker & Draft * * This pool selects the threads in a round robin fashion. * - * @template DataType of data sent to the worker. This can only be serializable data. - * @template ResponseType of response of execution. This can only be serializable data. + * @template Data Type of data sent to the worker. This can only be serializable data. + * @template Response Type of response of execution. This can only be serializable data. * @author [Alessandro Pio Ardizio](https://github.com/pioardi) * @since 0.0.1 */ @@ -62,7 +62,7 @@ export class FixedThreadPool< } /** @inheritDoc */ - public registerWorkerMessageListener ( + public registerWorkerMessageListener( messageChannel: ThreadWorkerWithMessageChannel, listener: (message: MessageValue) => void ): void {