add some stage docs (and POST_UPDATE stage)
This commit is contained in:
		
							parent
							
								
									4b114c9dd1
								
							
						
					
					
						commit
						78d1958090
					
				| @ -1,6 +1,17 @@ | |||||||
|  | /// Name of app stage that runs once when an app starts up
 | ||||||
| pub const STARTUP: &str = "startup"; | pub const STARTUP: &str = "startup"; | ||||||
| 
 | 
 | ||||||
|  | /// Name of app stage that runs before all other app stages
 | ||||||
| pub const FIRST: &str = "first"; | pub const FIRST: &str = "first"; | ||||||
|  | 
 | ||||||
|  | /// Name of app stage that updates events. Generally this should run before UPDATE
 | ||||||
| pub const EVENT_UPDATE: &str = "event_update"; | pub const EVENT_UPDATE: &str = "event_update"; | ||||||
|  | 
 | ||||||
|  | /// Name of app stage responsible for doing most app logic. Systems should be registered here by default.
 | ||||||
| pub const UPDATE: &str = "update"; | pub const UPDATE: &str = "update"; | ||||||
|  | 
 | ||||||
|  | /// Name of app stage responsible for processing the results of UPDATE. Runs immediately after UPDATE.
 | ||||||
|  | pub const POST_UPDATE: &str = "post_update"; | ||||||
|  | 
 | ||||||
|  | /// Name of app stage that runs after all other app stages
 | ||||||
| pub const LAST: &str = "last"; | pub const LAST: &str = "last"; | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Carter Anderson
						Carter Anderson