Verse Library verse

01 Verse Language

Shows how suspending code in a race block affects value assignment and scope access.

extracted-snippets/documentation/en-us/fortnite/31.00-fortnite-ecosystem-updates-and-release-notes-in-creative-and-unreal-editor-for-fortnite/01-verse-language.verse

# Source URL: https://dev.epicgames.com/documentation/en-us/fortnite/31.00-fortnite-ecosystem-updates-and-release-notes-in-creative-and-unreal-editor-for-fortnite
# Local doc:  epic-docs/documentation/en-us/fortnite/31.00-fortnite-ecosystem-updates-and-release-notes-in-creative-and-unreal-editor-for-fortnite.md
# Section:    Verse Language
race:
X := F()
G() # some suspend code I know will lose the race
H(X) # X was possible to access here before, but not anymore.

Comments

    Sign in to vote, comment, or suggest an edit. Sign in