mirror of
https://github.com/status-im/react-native.git
synced 2025-01-11 18:14:14 +00:00
70066ecd2b
Reviewed By: fkgozali Differential Revision: D8002194 fbshipit-source-id: a60073698d0f348d788b5c67e1c1c0010f7ec7f1
24 lines
564 B
JavaScript
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;
|