mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-02-10 22:45:24 +08:00
Summary: public Implements a basic WebWorkers API that allows posting messages between the main JS thread and a worker background thread. It follows the existing webworkers API from JS. Currently passed memory needs to be JSON serializable and is copied (unfortunately, this is what webkit does as well, but with a more advanced serialization/deserialization process). There are a lot of TODO's: I'll add tasks for them once this is accepted. Reviewed By: lexs Differential Revision: D2779349 fb-gh-sync-id: 8ed04c115d36acf0264ef1f6a12a65dd0c14ff18