Task function that can be executed. This function can be synchronous or asynchronous.
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.
Task function that can be executed. This function can be synchronous or asynchronous.