repositories
/
poolifier.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
combined
(merge:
d33d2d2
6438395
)
Merge branch 'master' into worker-info
author
Jérôme Benoit
<jerome.benoit@sap.com>
Sat, 1 Jul 2023 22:05:41 +0000
(
00:05
+0200)
committer
GitHub
<noreply@github.com>
Sat, 1 Jul 2023 22:05:41 +0000
(
00:05
+0200)
1
2
src/pools/worker.ts
patch
|
diff1
|
diff2
|
blob
|
history
diff --cc
src/pools/worker.ts
index be0e3c2734c3eb96b44de652d268da397ef869c1,dc283e0eaf9298a683dcfffba8dbaabf4afb6cc2..664b6a7695ef42a088732812a7eac270e9f87a00
---
1
/
src/pools/worker.ts
---
2
/
src/pools/worker.ts
+++ b/
src/pools/worker.ts
@@@
-162,13
-146,8
+162,13
@@@
export interface WorkerUsage
* Worker interface.
*/
export interface IWorker {
+ /**
+ * Worker id.
+ */
+ readonly id?: number
+ readonly threadId?: number
/**
- * Register an event listener.
+ * Register
s
an event listener.
*
* @param event - The event.
* @param handler - The event handler.