react-native/React/CxxBridge
Kevin Gozali 2ca4770011 fabric: send events via JS thread
Summary: Calling the event emitters on the main thread seems to be problematic, so let's dispatch it via the JS thread. This requires some changes to make "eventTarget" single-use because otherwise the binding would need to synchronize the actual JS call with the act of releasing the target.

Reviewed By: shergin

Differential Revision: D8375291

fbshipit-source-id: bd2b42731176ae209f4a19c232309c163fb1c01b
2018-06-15 11:02:17 -07:00
..
NSDataBigString.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
NSDataBigString.mm Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTCxxBridge.mm fabric: send events via JS thread 2018-06-15 11:02:17 -07:00
RCTCxxBridgeDelegate.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTJSCHelpers.h Migrate Android sources to MIT license header 2018-05-31 15:37:30 -07:00
RCTJSCHelpers.mm Migrate Android sources to MIT license header 2018-05-31 15:37:30 -07:00
RCTMessageThread.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTMessageThread.mm Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTObjcExecutor.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTObjcExecutor.mm RCTObjcExecutor: fix initializer-list initialization order build warning. 2018-03-19 15:51:59 -07:00