set_enter_callback


Description:

public void set_enter_callback (owned TaskThreadFunc enter_func)

Call enter_func when the task function of this is entered.

user_data will be passed to enter_func and notify will be called when user_data is no longer referenced.

Parameters:

this

The Task to use

enter_func

a TaskThreadFunc

notify

called when user_data is no longer referenced

user_data

user data passed to enter_func