Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
name?: string,
transferList?: readonly TransferListItem[]
) => Promise<ThreadWorkerResponse>
+ mapExecute: (
+ data: Iterable<ThreadWorkerData>,
+ name?: string,
+ transferList?: readonly TransferListItem[]
+ ) => Promise<ThreadWorkerResponse[]>
pool: DynamicThreadPool<ThreadWorkerData, ThreadWorkerResponse>
}
}
name?: string,
transferList?: readonly TransferListItem[]
) => Promise<WorkerResponse>
+ mapExecute: (
+ data: Iterable<WorkerData>,
+ name?: string,
+ transferList?: readonly TransferListItem[]
+ ) => Promise<WorkerResponse[]>
pool: DynamicThreadPool<WorkerData, WorkerResponse>
}
}