X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Futility-types.ts;h=82f79230accb88160ae612e9d5cc5ba7da57d157;hb=ef0bf5b82f7edb5cd87f4bffb784bb8fac189fb8;hp=aa4e219853caba926bc74867a2089827f6f69765;hpb=95d1a734d57942c892202df7c0fcaf2fb5ab89ab;p=poolifier.git diff --git a/src/utility-types.ts b/src/utility-types.ts index aa4e2198..82f79230 100644 --- a/src/utility-types.ts +++ b/src/utility-types.ts @@ -67,22 +67,20 @@ export interface WorkerStatistics { /** * Task function properties. - * - * @internal */ export interface TaskFunctionProperties { /** * Task function name. */ - name: string + readonly name: string /** * Task function priority. Lower values have higher priority. */ - priority?: number + readonly priority?: number /** * Task function worker choice strategy. */ - strategy?: WorkerChoiceStrategy + readonly strategy?: WorkerChoiceStrategy } /**