code: function (f, cont) {
      var result = f();
      if (result && typeof result.always === 'function') {
        result.always(cont);
      } else {
        cont();
      }
    }
docs: Execute function f, then function cont. If f returns a promise, cont is executed when the promise resolves.
  @param {Function} f function to execute first
  @param {Function} cont function to execute after f
  @memberOf Util