# Source URL: https://dev.epicgames.com/documentation/en-us/uefn/concurrency-overview-in-verse
# Local doc: epic-docs/documentation/en-us/uefn/concurrency-overview-in-verse.md
# Section: Async Contexts
# These two expressions are always kept together
Print("Started")
var Seconds := 1.0
Sleep(Seconds)
# These two expressions are always kept together
Print("Waited {Second} seconds")
set Second += 1.0
Sleep(Seconds)
# These two expressions are always kept together
Print("Waited {Second} seconds")
set Second += 1.0
Sleep(Seconds)
Print("Waited {Second} seconds")
Copy full snippet
Verse Library
verse
04 Async Contexts
Tracks elapsed time with suspension, demonstrating state updates and non-blocking waits.
extracted-snippets/documentation/en-us/uefn/concurrency-overview-in-verse/04-async-contexts.verse