Register a callback function, this callback function is executed automatically after the task is completed.
Parameter
taskHandle Task handle pointer.taskDoneCb Callback function pointer.userdata User-defined data.Return Value
0 means the API was successfully executed, otherwise the execution failed.hbUCPReleaseTaskto release the task in the callback function, otherwise undefined behavior may occur.