priority

abstract fun priority(): Int

Return

the priority of this hook; higher value numbers are run before other hooks of lower numbers. By default, hooks are assigned a priority of "level 0", running at whichever order the class loader does.

Priorities used for some integrated hooks are as follows:

  1. General static cleanup methods
  2. Unused
  3. RobotConfig AutoInit
  4. Unused
  5. Threads Auto Stop
  6. Unused
  7. BunyipsOpMode Configuration