Searched refs:workerPortObj (Results 1 - 1 of 1) sorted by relevance
/commonlibrary/ets_utils/js_concurrent_module/worker/ |
H A D | worker.cpp | 143 napi_value workerPortObj = nullptr; in InitPort() local 144 napi_create_object(env, &workerPortObj); in InitPort() 145 napi_define_properties(env, workerPortObj, sizeof(properties) / sizeof(properties[0]), properties); in InitPort() 152 napi_set_named_property(env, workerPortObj, "name", nameValue); in InitPort() 155 napi_set_named_property(env, workerPortObj, "self", workerPortObj); in InitPort() 158 napi_set_named_property(env, exports, "workerPort", workerPortObj); in InitPort() 160 napi_set_named_property(env, exports, "parentPort", workerPortObj); in InitPort() 163 napi_create_reference(env, workerPortObj, 1, &worker->workerPort_); in InitPort() 2198 napi_value workerPortObj in CallWorkerFunction() local [all...] |
Completed in 6 milliseconds