Invoke callback with data on the window thread. The callback may not have been executed when this function returns.
function to invoke
Invoke callback with data on the window thread. The callback may not have been executed when this function returns.