Topic was automatically imported from the old Question2Answer platform.
Asked By
phucotaku
call_deferred(), can you help me explain what this function means
i understand calling this command will delay the execution of the job but other than that i don’t know anything more about this function
How long is the delay?
when does it run?
A simple answer is that call_deffered() calls a function in the main thread when it is not doing anything / idle. There is no specific delay length, it just runs when there is nothing on the main thread. For more information read Zylann’s answer from this question.