API Reference
nuke.
waitForThreadsToFinish
Returns true if Nuke should wait for any Python threads to finish before exitting. :return: True or False.