MCPcopy Create free account
hub / github.com/Tencent/Hippy / IsJsThread

Method IsJsThread

core/src/task/javascript_task_runner.cc:33–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31}
32
33bool JavaScriptTaskRunner::IsJsThread() {
34 return this->Id() == hippy::base::ThreadId::GetCurrent();
35}
36
37// keep the same with TaskRunner::run
38void JavaScriptTaskRunner::PauseThreadForInspector() {

Callers 4

CreateScopeMethod · 0.80
WillExitMethod · 0.80
RunJSMethod · 0.80
RunJSSyncMethod · 0.80

Calls 1

IdMethod · 0.45

Tested by

no test coverage detected