{"size": 1163, "ext": "js", "max_stars_repo_path": "Libraries/vendor/core/throwImmediate.js", "max_stars_repo_name": "MorganGkim/react-native-macos", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "Libraries/vendor/core/throwImmediate.js", "max_issues_repo_name": "MorganGkim/react-native-macos", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "Libraries/vendor/core/throwImmediate.js", "max_forks_repo_name": "MorganGkim/react-native-macos", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 29.8205128205, "max_line_length": 67, "alphanum_fraction": 0.5004299226}
/**
 * @generated SignedSource<<5c985f16e4f2e576657ab2b1551adf97>>
 *
 * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 * !! This file is a check-in of a static_upstream project!      !!
 * !!                                                            !!
 * !! You should not modify this file directly. Instead:         !!
 * !! 1) Use `fjs use-upstream` to temporarily replace this with !!
 * !!    the latest version from upstream.                       !!
 * !! 2) Make your changes, test them, etc.                      !!
 * !! 3) Use `fjs push-upstream` to copy your changes back to    !!
 * !!    static_upstream.                                        !!
 * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 *
 * Copyright 2004-present Facebook. All Rights Reserved.
 *
 * @providesModule throwImmediate
 * @typechecks
 */

/*"use strict";*/

var setImmediate = require('setImmediate');

function throwArg(error) {
  throw error;
}

/**
 * Throws the supplied error in a new execution loop.
 *
 * @param {*} error
 */
function throwImmediate(error) {
  setImmediate(throwArg, error);
}

module.exports = throwImmediate;
