You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Implement Asynchronous Processing Using C Async Function #14
We used AsyncWorker because segmentation fault about NAPI objects occurred in callback registered with C async function.
FYI: nodejs/node-addon-api#457
The throughput of asynchronous processing using NAPI::AsyncWorker is lower than that using C async function(e.g. pulsar_client_create_producer_async).
Therefore, we want to use C async function in order to make performance better.
changed the title [-]Implement Asynchronous Processing C Async Function[/-][+]Implement Asynchronous Processing Using C Async Function[/+]on Mar 14, 2019
Activity
[-]Implement Asynchronous Processing C Async Function[/-][+]Implement Asynchronous Processing Using C Async Function[/+]pradeep-mishra commentedon Jun 17, 2020
any update on this?
nkurihar commentedon Jun 17, 2020
@pradeep-mishra
Sorry, there is no update.
As described in #56,
ThreadSafeFunctionmay solve this issue but we haven't tried yet.nkurihar commentedon Apr 8, 2022
Now AsyncWorker is replaced with async functions: #200