repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
chore: v2.4.7
[poolifier.git]
/
src
/
utility-types.ts
diff --git
a/src/utility-types.ts
b/src/utility-types.ts
index 544b4cd0a07e85f407a192466601167392167a41..685e5c4c606755bf801dd6c13d582d3657f8fe8e 100644
(file)
--- a/
src/utility-types.ts
+++ b/
src/utility-types.ts
@@
-10,6
+10,9
@@
export type Draft<T> = { -readonly [P in keyof T]?: T[P] }
/**
* Message object that is passed between worker and main worker.
/**
* Message object that is passed between worker and main worker.
+ *
+ * @typeParam Data - Type of data sent to the worker. This can only be serializable data.
+ * @typeParam MainWorker - Type of main worker.
*/
export interface MessageValue<
Data = unknown,
*/
export interface MessageValue<
Data = unknown,
@@
-49,6
+52,7
@@
export interface MessageValue<
*
* @typeParam Worker - Type of worker.
* @typeParam Response - Type of execution response. This can only be serializable data.
*
* @typeParam Worker - Type of worker.
* @typeParam Response - Type of execution response. This can only be serializable data.
+ * @internal
*/
export interface PromiseResponseWrapper<
Worker extends IWorker,
*/
export interface PromiseResponseWrapper<
Worker extends IWorker,