is_main_thread
godot
Latest master
is_
main_
thread
Sections
Panics
In godot::
init
godot
::
init
Function
is_
main_
thread
Copy item path
pub fn is_main_thread() ->
bool
Expand description
Check if the current thread is the main thread.
ยง
Panics
If it is called before the engine bindings have been initialized.