-
Notifications
You must be signed in to change notification settings - Fork 2
08. Concurrency
Cruz Wootten edited this page Apr 2, 2024
·
1 revision
-
Avoid decorating
<suspends>
functions withAsync
or similar terms. -
Do:
DoWork()<suspends>:void
-
Don't:
DoWorkAsync()<suspends>:void
-
It’s acceptable to add the
Await
prefix to a<suspends>
function that internally waits on something to happen. This can clarify how an API is supposed to be used.AwaitGameEnd()<suspends>:void= # Setup other things before awaiting game end… GameEndEvent.Await() OnBegin()<suspends>:void = race: RunGameLoop() AwaitGameEnd()
Use of the Unreal Engine, Unreal Editor for Fortnite and Verse is governed by the terms of the Unreal® Engine End User License Agreement.
A majority of this content was taken from VERSE DOCUMENTATION Such content belongs to EPIC GAMES
Verse icon, UEFN, UEFN icon, Unreal Engine, Unreal Engine logo, Fortnite, & Fortnite icon are property of EPIC GAMES
This github is not maintained or endorsed by EPIC GAMES. It is made for educational purposes only.
This wiki was compiled by Lil Wikipedia