executeInMainThread(call,
args=(),
kwargs={})
Execute the callable 'call' with optional arguments 'args' and named
arguments 'kwargs' i n Nuke's main thread and return immediately.
executeInMainThreadWithResult(call,
args=(),
kwargs={})
Execute the callable 'call' with optional arguments 'args' and named
arguments 'kwargs' in Nuke's main thread and wait for the result to
become available.