mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Reviewed By: mhorowitz Differential Revision: D3300152 fbshipit-source-id: 9a76b10579bbfc5bde3a5094b99b64c38f4c1da9
28 lines
649 B
Java
28 lines
649 B
Java
/**
|
|
* Copyright (c) 2015-present, Facebook, Inc.
|
|
* All rights reserved.
|
|
*
|
|
* This source code is licensed under the BSD-style license found in the
|
|
* LICENSE file in the root directory of this source tree. An additional grant
|
|
* of patent rights can be found in the PATENTS file in the same directory.
|
|
*/
|
|
|
|
package com.facebook.react.cxxbridge;
|
|
|
|
import com.facebook.proguard.annotations.DoNotStrip;
|
|
|
|
@DoNotStrip
|
|
/* package */ interface ReactCallback {
|
|
@DoNotStrip
|
|
void onBatchComplete();
|
|
|
|
@DoNotStrip
|
|
void incrementPendingJSCalls();
|
|
|
|
@DoNotStrip
|
|
void decrementPendingJSCalls();
|
|
|
|
@DoNotStrip
|
|
void onNativeException(Exception e);
|
|
}
|