10 ms·
The fear is justified that somebody would naively use this library on a network-heavy app and block the event loop. The readme should probably do a better job d
by jlongster 9y ago
The fear is justified that somebody would naively use this library on a network-heavy app and block the event loop. The readme should probably do a better job describing how this should be used. It's not too hard to run it in a separate process and create a "db service" that you query async. For many small apps or certain use cases the sync api shouldn't be a problem.