Adds a new function to desktop_tasks2. These are secondary Runnable's to be executed after the Desktop loads. (Apps and other Addons go here, to make sure they load correctly after desktop mods) @param uniqueObjectIdentifier This is a String ID that should be unique to a single function, or other r
(String uniqueObjectIdentifier, Runnable function)
| 128 | * @param function This is the Runnable to be executed. |
| 129 | */ |
| 130 | public static void addShutdownTask(String uniqueObjectIdentifier, Runnable function) { |
| 131 | API.shutdown_tasks.put(uniqueObjectIdentifier, function); |
| 132 | } |
| 133 | |
| 134 | /** |
| 135 | * Spawns an in-game Notification. |
nothing calls this directly
no outgoing calls
no test coverage detected