Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document var x = await signal returns signal arguments. #10521

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
Use Array class document reference.
  • Loading branch information
ahmed-tabib authored Jan 18, 2025
commit b8a97a8b4c4b71d7e29498aece469693fbc5778c
2 changes: 1 addition & 1 deletion tutorials/scripting/gdscript/gdscript_basics.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2501,7 +2501,7 @@ If the signal emits a **single** argument, ``await`` returns a value with the sa
print("User accepted analytics")
return true

However, if the signal emits **multiple** arguments, ``await`` returns an ``Array[Variant]`` containing the signal arguments in order::
However, if the signal emits **multiple** arguments, ``await`` returns an :ref:`Array<class_Array>` containing the signal arguments in order::

signal user_accepted(accepted_analytics, accepted_crash_report_upload)

Expand Down
Loading