Vendor gdUnit4 for Godot 4 client testing (D-030). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
16 lines
242 B
GDScript
16 lines
242 B
GDScript
class_name ClassWithAwaitFunc
|
|
extends Node
|
|
|
|
|
|
func normal_function() -> void:
|
|
print("normal")
|
|
|
|
|
|
func await_function() -> void:
|
|
print(await _await_function())
|
|
|
|
|
|
func _await_function() -> String:
|
|
await get_tree().process_frame
|
|
return "test"
|