Merge branch 'master' into worker-info
authorJérôme Benoit <jerome.benoit@sap.com>
Sat, 1 Jul 2023 22:05:41 +0000 (00:05 +0200)
committerGitHub <noreply@github.com>
Sat, 1 Jul 2023 22:05:41 +0000 (00:05 +0200)
1  2 
src/pools/worker.ts

index be0e3c2734c3eb96b44de652d268da397ef869c1,dc283e0eaf9298a683dcfffba8dbaabf4afb6cc2..664b6a7695ef42a088732812a7eac270e9f87a00
@@@ -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.
+    * Registers an event listener.
     *
     * @param event - The event.
     * @param handler - The event handler.