Handling Database reconnections with MongoDB Native Driver in Node.JS?

In older versions there were MongoClientOptions available that managed reconnections in case of an error:

  • autoReconnect - Reconnect on error (default is true )

And other interesting options such as: reconnectTries , reconnectInterval

How should one handle reconnections in version 4.4?

Any ideas or resources? Also have an active bounty on StackOverflow Handling Database reconnections with MongoDB Native Driver in Node.JS - Stack Overflow