repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Apply dependencies update
[poolifier.git]
/
src
/
pools
/
thread
/
fixed.ts
diff --git
a/src/pools/thread/fixed.ts
b/src/pools/thread/fixed.ts
index cd414502cfd8a706e8d30836b23a90ce64c35a91..a8161f6783f764831ef632bc4d48205419ab1850 100644
(file)
--- a/
src/pools/thread/fixed.ts
+++ b/
src/pools/thread/fixed.ts
@@
-16,8
+16,8
@@
export type ThreadWorkerWithMessageChannel = Worker & Draft<MessageChannel>
*
* This pool selects the threads in a round robin fashion.
*
*
* 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
*/
* @author [Alessandro Pio Ardizio](https://github.com/pioardi)
* @since 0.0.1
*/
@@
-62,7
+62,7
@@
export class FixedThreadPool<
}
/** @inheritDoc */
}
/** @inheritDoc */
- public registerWorkerMessageListener<Message extends Data | Response>
(
+ public registerWorkerMessageListener<Message extends Data | Response>(
messageChannel: ThreadWorkerWithMessageChannel,
listener: (message: MessageValue<Message>) => void
): void {
messageChannel: ThreadWorkerWithMessageChannel,
listener: (message: MessageValue<Message>) => void
): void {