run_task


Description:

protected bool run_task (SourceFunc func)

Run user-provided code

Implementations should use this method to execute user provided code in a managed thread.

Parameters:

func

the callback to execute

Returns:

value returned by the callback