Create a new action specifying the id, event callback and priority. Id must be unique otherwise a logger error is thrown. Priority must be in range 0..255.
See Implementation
Create a new action specifying the id, event callback and priority. Id must be unique otherwise a logger error is thrown. Priority must be in range 0..255.