text: /*! @license Firebase v4.1.2
  Build: rev-4a4cc92
  Terms: https://firebase.google.com/terms/ */
  
  'use strict';
  
  Object.defineProperty(exports, "__esModule", {
      value: true
  });
  exports.async = async;
  
  var _promise_external = require('./promise_external');
  
  var promiseimpl = _interopRequireWildcard(_promise_external);
  
  function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }
  
  /**
   * Returns a function that invokes f with its arguments asynchronously as a
   * microtask, i.e. as soon as possible after the current script returns back
   * into browser code.
   */
  function async(f) {
      return function () {
          for (var _len = arguments.length, argsToForward = Array(_len), _key = 0; _key < _len; _key++) {
              argsToForward[_key] = arguments[_key];
          }
  
          promiseimpl.resolve(true).then(function () {
              f.apply(null, argsToForward);
          });
      };
  } /**
    * Copyright 2017 Google Inc.
    *
    * Licensed under the Apache License, Version 2.0 (the "License");
    * you may not use this file except in compliance with the License.
    * You may obtain a copy of the License at
    *
    *   http://www.apache.org/licenses/LICENSE-2.0
    *
    * Unless required by applicable law or agreed to in writing, software
    * distributed under the License is distributed on an "AS IS" BASIS,
    * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    * See the License for the specific language governing permissions and
    * limitations under the License.
    */
  /**
   * @fileoverview Method for invoking a callback asynchronously.
   */
  //# sourceMappingURL=async.js.map
  