Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
33
bool JavaScriptTaskRunner::IsJsThread() {
34
return this->Id() == hippy::base::ThreadId::GetCurrent();
35
}
36
37
// keep the same with TaskRunner::run
38
void JavaScriptTaskRunner::PauseThreadForInspector() {
Callers
4
CreateScope
Method · 0.80
WillExit
Method · 0.80
RunJS
Method · 0.80
RunJSSync
Method · 0.80
Calls
1
Id
Method · 0.45
Tested by
no test coverage detected