Skip to content

Async/Await

async, await

Example usage:

class LibraryManager {
   closed stat library = new Library()

   || app         -> AppInfo
   || steamPath   -> NullableString
   || ExecuteApp  -> Promise
   open stat async ExecuteApp(app) {
      if (app.LaunchType == LaunchType.STEAMURL) {
         await SteamPathManager.getSteamPath()
      }
   }
}