public static weak Task create
Create a new Task that will repeatedly call the provided
data as a parameter.
Typically the task will run in a new thread.
The function cannot be changed after the task has been created. You must create a new
Task to change the function.
This function will not yet create and start a thread. Use start or
pause to create and start the GThread.
Before the task can be used, a StaticRecMutex must be configured using the
set_lock function. This lock will always be acquired while
||The TaskFunction to use
||User data to pass to