Type of data sent to the worker. This can only be structured-cloneable data.
Type of execution response. This can only be structured-cloneable data.
Optional
priorityTask function priority. Lower values have higher priority.
Optional
strategyTask function worker choice strategy.
Task function.
Task function object.