Run user-provided code
Implementations should use this method to execute user provided code in a managed thread.
the callback to execute
value returned by the callback