From: Jérôme Benoit Date: Sat, 1 Jul 2023 22:05:41 +0000 (+0200) Subject: Merge branch 'master' into worker-info X-Git-Tag: v2.6.7~16^2~5 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=53b1b2fc0c935c958a4b6a36223dbdc44c24d926;p=poolifier.git Merge branch 'master' into worker-info --- 53b1b2fc0c935c958a4b6a36223dbdc44c24d926 diff --cc src/pools/worker.ts index be0e3c27,dc283e0e..664b6a76 --- a/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. + * Registers an event listener. * * @param event - The event. * @param handler - The event handler.