/* Copyright 2015 Realm Inc - All Rights Reserved * Proprietary and Confidential */ #import #import #ifdef __cplusplus extern "C" { #endif typedef void (^RealmReactEventHandler)(id message); JSGlobalContextRef RealmReactGetJSGlobalContextForExecutor(id executor, bool create); @interface RealmReact : NSObject - (void)addListenerForEvent:(NSString *)eventName handler:(RealmReactEventHandler)handler; - (void)removeListenerForEvent:(NSString *)eventName handler:(RealmReactEventHandler)handler; @end #ifdef __cplusplus } #endif