Giter VIP home page Giter VIP logo

Comments (6)

Irrelon avatar Irrelon commented on July 23, 2024

This makes sense, probably more in Node.js than the browser but both would benefit depending on the application I suppose.

from forerunnerdb.

YurySolovyov avatar YurySolovyov commented on July 23, 2024

Indeed, I working with electron, which is chromium with integrated node API, and I have some data which I need to be saved right away, so it can survive app crash or some unexpected exit.

from forerunnerdb.

Irrelon avatar Irrelon commented on July 23, 2024

This is now a planned enhancement. It is so easy to implement that it will probably make it's way into the next revision build :)

from forerunnerdb.

YurySolovyov avatar YurySolovyov commented on July 23, 2024

Thanks! This would remove a couple of lines of code for me :)

from forerunnerdb.

Irrelon avatar Irrelon commented on July 23, 2024

Hi ya, just an update that you can now enable this on the Node.js side by doing db.persist.auto(true). Browser-side will get the update soon.

from forerunnerdb.

no-more avatar no-more commented on July 23, 2024

Hey great news,

I hope to see this on browser side soon.

Thanks a lot.

from forerunnerdb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.