Parsed documentation:
View on GitHub
Register a handler

@param [Symbol, nil] type a classification to separate handlers/events into channels. Omitting the classification will create a handler for all events.
@param [guards] guards take a look at the guards documentation

@yield [Object] trigger_object the incoming event

@return [String] handler ID for later manipulation
Please help! Open an issue on GitHub if this assessment is incorrect.