react-native/ReactAndroid
Andy Street bd95b22844 WebWorkers: Add ExecutorToken to route native module calls to/from workers
Summary:To support native modules in web workers, native modules need to have an notion of the JS executor/thread that called into them in order to respond via Callback or JS module call to the right executor on the right thread.

ExecutorToken is an object that only serves as a token that can be used to identify an executor/message queue thread in the bridge. It doesn't expose any methods. Native modules Callback objects automatically have this ExecutionContext attached -- JSModule calls for modules that support workers will need to supply an appropriate ExecutorToken when retrieving the JSModule implementation from the ReactContext.

Reviewed By: mhorowitz

Differential Revision: D2965458

fb-gh-sync-id: 6e354d4df8536d40b12d02bd055f6d06b4ca595d
shipit-source-id: 6e354d4df8536d40b12d02bd055f6d06b4ca595d
2016-03-01 07:57:35 -08:00
..
libs Add BUCK files 2016-01-22 16:20:13 +00:00
src WebWorkers: Add ExecutorToken to route native module calls to/from workers 2016-03-01 07:57:35 -08:00
.npmignore Don't publish /ReactAndroid/build to npm, update version on master 2015-10-12 11:11:40 -07:00
DEFS Backed out changeset fe59b7f7c7da 2016-02-24 08:39:35 -08:00
DevExperience.md Fixed typo 2015-12-31 12:26:10 +04:00
README.md Clean up docs on building RN Android from source 2016-02-18 07:59:39 -08:00
build.gradle Added ability to run Movies app with BUCK 2016-02-25 17:15:58 -08:00
gradle.properties Ability to run unit tests in react-android-github via gradle 2015-11-27 04:20:19 -08:00
release.gradle New release process: Fix installArchives 2016-02-09 10:30:32 -08:00

README.md

Building React Native for Android

See docs on the website.