ipc/native/src/napi/src/napi_remote_object.cpp
void ExecuteSendRequest(napi_env env, void *data)
{
    SendRequestParam *param = reinterpret_cast<SendRequestParam *>(data);
    param->errCode = param->target->SendRequest(param->code,
        *(param->data.get()), *(param->reply.get()), param->option);
    DBINDER_LOGI("sendRequest done, errCode:%{public}d", param->errCode);
}
// This method runs on a worker thread, no access to the JavaScript
This method runs on a worker thread, no access to the JavaScript
This method runs on a worker thread no access to the JavaScript
void ExecuteSendRequest(napi_env env, void *data)
{
    SendRequestParam *param = reinterpret_cast<SendRequestParam *>(data);
    param->errCode = param->target->SendRequest(param->code,
        *(param->data.get()), *(param->reply.get()), param->option);
    DBINDER_LOGI("sendRequest done, errCode:%{public}d", param->errCode);
}
void ExecuteSendRequest ( napi_env env , void * data ) { SendRequestParam * param = reinterpret_cast < SendRequestParam * > ( data ) ; param -> errCode = param -> target -> SendRequest ( param -> code , * ( param -> data . get ( ) ) , * ( param -> reply . get ( ) ) , param -> option ) ; DBINDER_LOGI ( " " , param -> errCode ) ; }
This method runs on a worker thread, no access to the JavaScript
This method runs on a worker thread no access to the JavaScript