action method

Hook action(
  1. Function action
)
inherited

Hooks action to be executed when executing hook

Implementation

Hook action(Function action) {
  _action = action;
  return this;
}