/**
* Task synchronous function that can be executed.
*
+ * @param data - Data sent to the worker.
+ *
* @typeParam Data - Type of data sent to the worker. This can only be structured-cloneable data.
* @typeParam Response - Type of execution response. This can only be structured-cloneable data.
*/
* Task asynchronous function that can be executed.
* This function must return a promise.
*
+ * @param data - Data sent to the worker.
+ *
* @typeParam Data - Type of data sent to the worker. This can only be structured-cloneable data.
* @typeParam Response - Type of execution response. This can only be structured-cloneable data.
*/