X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fpools%2Fabstract-pool.ts;h=01e621c297a1bc0cb818b807d1e13fe33344952e;hb=6a3ecc500583fc68d5bbce89f8448ccd022ab900;hp=b5e528ec643bb7d58325ab46d49f82c64f0f442b;hpb=c311456387df5a1db5cf9d00be8f3fbc5b24362c;p=poolifier.git diff --git a/src/pools/abstract-pool.ts b/src/pools/abstract-pool.ts index b5e528ec..01e621c2 100644 --- a/src/pools/abstract-pool.ts +++ b/src/pools/abstract-pool.ts @@ -893,7 +893,7 @@ export abstract class AbstractPool< public async execute ( data?: Data, name?: string, - transferList?: TransferListItem[] + transferList?: readonly TransferListItem[] ): Promise { return await new Promise((resolve, reject) => { if (!this.started) { @@ -1228,7 +1228,7 @@ export abstract class AbstractPool< protected abstract sendToWorker ( workerNodeKey: number, message: MessageValue, - transferList?: TransferListItem[] + transferList?: readonly TransferListItem[] ): void /**