repositories
/
poolifier.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83fa0a3
)
refactor: refine worker interface definition
author
Jérôme Benoit
<jerome.benoit@sap.com>
Fri, 30 Jun 2023 23:05:42 +0000
(
01:05
+0200)
committer
Jérôme Benoit
<jerome.benoit@sap.com>
Fri, 30 Jun 2023 23:05:42 +0000
(
01:05
+0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/pools/worker.ts
patch
|
blob
|
blame
|
history
diff --git
a/src/pools/worker.ts
b/src/pools/worker.ts
index e0636d9920db6ddf4e5d7a20ea412cfbee612b04..be0e3c2734c3eb96b44de652d268da397ef869c1 100644
(file)
--- a/
src/pools/worker.ts
+++ b/
src/pools/worker.ts
@@
-165,8
+165,8
@@
export interface IWorker {
/**
* Worker id.
*/
- id?: number
- threadId?: number
+
readonly
id?: number
+
readonly
threadId?: number
/**
* Register an event listener.
*