react-native/Libraries/Interaction/InteractionStallDebugger.js
Tim Yung 70066ecd2b RN: Remove ReactPerf References
Reviewed By: fkgozali

Differential Revision: D8002194

fbshipit-source-id: a60073698d0f348d788b5c67e1c1c0010f7ec7f1
2018-05-15 13:16:57 -07:00

24 lines
564 B
JavaScript

/**
* Copyright (c) 2015-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
* @flow
*/
'use strict';
const BridgeSpyStallHandler = require('BridgeSpyStallHandler');
const JSEventLoopWatchdog = require('JSEventLoopWatchdog');
const InteractionStallDebugger = {
install(options: {thresholdMS: number}): void {
JSEventLoopWatchdog.install(options);
BridgeSpyStallHandler.register();
},
};
module.exports = InteractionStallDebugger;