Task.setTaskData

void setTaskData(void * taskData = null, glib.types.DestroyNotify taskDataDestroy = null)

Sets task's task data (freeing the existing task data, if any).

Parameters

taskDatatask-specific data
taskDataDestroy#GDestroyNotify for task_data