function createListener(opt_listenerFn) {
  return recordFunction(opt_listenerFn);
}
Creates a listener that executes the given function (optional).
@param {!Function=} opt_listenerFn The optional function to execute.
@return {!Function} The listener function.