Files
react-native/ReactAndroid/src/main/java/com/facebook/react/cxxbridge/ReactCallback.java
T
Chris HopmanandFacebook Github Bot 0 3b3b46d86e Move new bridge java stuff to OSS
Reviewed By: mhorowitz

Differential Revision: D3300152

fbshipit-source-id: 9a76b10579bbfc5bde3a5094b99b64c38f4c1da9
2016-05-25 17:58:43 -07:00

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);
}