ovhemert / pino-datadog

🌲A transport for pino that sends messages to DataDog
MIT License
36 stars 24 forks source link

Does this use a worker thread? #98

Closed ysageev closed 1 year ago

ysageev commented 1 year ago

Hi,

You mention that the createWriteStreamAsync() is "async for compatibility reasons". Does this mean it does not use a worker thread?

Thanks!

ovhemert commented 1 year ago

The async refers to the return of a promise instead of using a callback method. It's not using worker threads.