Parse Command Line Load Context Enter Application Context Load Platform ArtifactCache Preflight Initialize Logging Exit with error Load Toplevel Project Initialize Stream Initialize Application Run Stream API Load Elements Resolve Keys Resolve Cached State Construct Scheduler Queues EventSwitch Log Line Logging Event Interrupt or Error Event App isInteractive Run SchedulerRun the event loop, and process the elements until they have passed through all of the queues, or until there is a terminate condition. Interactive Pause Scheduler Prompt User Resume Scheduler Set Terminate Condition Non Interactive Continue Set Terminate Condition Terminate Log Session Summary Clean Exit Exception Event