docstring_tokens
stringlengths
18
16.9k
code_tokens
stringlengths
75
1.81M
html_url
stringlengths
74
116
file_name
stringlengths
3
311
keep keep replace replace replace replace replace keep replace replace
<mask> */ <mask> class RuntimeManager { <mask> public: <mask> RuntimeManager(std::unique_ptr<jsi::Runtime>&& runtime, <mask> std::shared_ptr<ErrorHandler> errorHandler, <mask> std::shared_ptr<Scheduler> scheduler): runtime(std::move(runtime)), errorHandler(errorHandler), scheduler(scheduler), workletsCache(std::make_unique<WorkletsCache>()) { } <mask> public: <mask> /** <mask> Holds the jsi::Function worklet that is responsible for updating values in JS. <mask> Can be null. </s> [android][ios] Upgrade react-native-reanimated to 2.3.0 (#15475) </s> remove Holds the Scheduler that is responsible for scheduling work on the UI- or React-JS Thread. </s> add Holds the Scheduler that is responsible for scheduling work on the UI- or React-JS Thread. </s> remove std::unique_ptr<jsi::Runtime> runtime; </s> add std::shared_ptr<jsi::Runtime> runtime; </s> remove Holds a list of adapted Worklets which are cached to avoid unneccessary recreation. </s> add Holds a list of adapted Worklets which are cached to avoid unneccessary recreation. </s> remove public: NativeReanimatedModule(std::shared_ptr<CallInvoker> jsInvoker, std::shared_ptr<Scheduler> scheduler, std::unique_ptr<jsi::Runtime> rt, std::shared_ptr<ErrorHandler> errorHandler, std::function<jsi::Value(jsi::Runtime &, const int, const jsi::String &)> propObtainer, PlatformDepMethodsHolder platformDepMethodsHolder); </s> add </s> remove public: NativeReanimatedModule(std::shared_ptr<CallInvoker> jsInvoker, std::shared_ptr<Scheduler> scheduler, std::unique_ptr<jsi::Runtime> rt, std::shared_ptr<ErrorHandler> errorHandler, std::function<jsi::Value(jsi::Runtime &, const int, const jsi::String &)> propObtainer, PlatformDepMethodsHolder platformDepMethodsHolder); </s> add
https://github.com/expo/expo/commit/c7e4709da8f56cdd1d001e7557a61255a15e62ef
android/expoview/src/main/Common/cpp/headers/SharedItems/RuntimeManager.h