domainsEnabled client option removed in node mongodb driver 4.0

86 Views Asked by At

Node mongodb native driver version 3.7 provides a domainsEnabled connection option (as described in 3.7 documentation)

Enable the wrapping of the callback in the current domain, disabled by default to avoid perf hit

However, I don't find a similar option in 4.0 release

Why has it been removed? Is there any workaround to have the same functionality with 4.0?

Thanks!

0

There are 0 best solutions below