clear method

void clear()

Removes every definition and handler.

Implementation

void clear() {
  _actions.clear();
  _handlers.clear();
}