is_
main_
thread
godot
0.2.4
is_
main_
thread
Sections
Panics
In godot::
init
Structs
GdextBuild
Enums
EditorRunBehavior
Traits
ExtensionLibrary
Functions
is_main_thread
main_thread_id
Type Aliases
InitLevel
Attribute Macros
gdextension
godot
::
init
Function
is_main_thread
Copy item path
Settings
Help
Summary
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.