enum
Godot::AwaitState
Overview
Status enum representing the completion outcome of an asynchronous await operation.
Defined in:
libgodot/signals/subscription.crEnum Members
-
Completed =
0 -
TimedOut =
1 -
Freed =
2
Instance Method Summary
-
#completed? : Bool
Returns true if the operation completed successfully without timing out or being freed.
-
#disposed? : Bool
Alias to
#freed?. -
#freed? : Bool
Returns true if the target object was freed/disposed before or during the wait.
-
#ok? : Bool
Alias to
#completed?. -
#timed_out? : Bool
Returns true if the operation timed out.
Instance methods inherited from struct Enum
!=(other : Int) : Bool
!=,
==(other : Int) : Bool
==
Instance methods inherited from class Object
try?(&)try? try?
Instance Method Detail
def completed? : Bool
#
Returns true if the operation completed successfully without timing out or being freed.