Git Product home page Git Product logo

Comments (6)

satazor avatar satazor commented on August 10, 2024

Reference: https://nodejs.org/api/timers.html#timers_unref

from node-retry.

tim-kos avatar tim-kos commented on August 10, 2024

Looks good to me, with the exception that it breaks the API now for the RetryOperation initialization. It now awaits an object as the second parameter, whereas before you could use a boolean for retryForever.

Could you please add code that fixes this? Something like:

if (typeof options == 'boolean') {
   var retryForever = options;
   options = {
      retryForever: retryForever,
      unref: false
   }
}

Then I'll happily merge this. Thanks for the contribution!

from node-retry.

satazor avatar satazor commented on August 10, 2024

@tim-kos done, I've simplified your suggestion a bit: https://github.com/tim-kos/node-retry/pull/27/files#diff-5fbd26cd639da16ee356ed75e5ff2334R2

from node-retry.

tim-kos avatar tim-kos commented on August 10, 2024

<3

On Tue, Jan 26, 2016 at 9:27 AM, André Cruz [email protected]
wrote:

@tim-kos https://github.com/tim-kos done, I've simplified your
suggestion a bit:
https://github.com/tim-kos/node-retry/pull/27/files#diff-5fbd26cd639da16ee356ed75e5ff2334R2


Reply to this email directly or view it on GitHub
#26 (comment).

from node-retry.

satazor avatar satazor commented on August 10, 2024

Cool! Can you please release a new version (perhaps a stable 1.0.0)? Thanks <3

from node-retry.

tim-kos avatar tim-kos commented on August 10, 2024

Done!

On Tue, Jan 26, 2016 at 11:48 AM, André Cruz [email protected]
wrote:

Cool! Can you please release a new version? Thanks <3


Reply to this email directly or view it on GitHub
#26 (comment).

from node-retry.

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.