Code Monkey home page Code Monkey logo

Comments (5)

softprops avatar softprops commented on August 17, 2024

I feel like making the dispatch Defaults public would help a bit. Otherwise, those providing builders are going to have to resort to the same kind of copy and paste code

from reboot.

itaibenari avatar itaibenari commented on August 17, 2024

Since "reboot" has built in support for streams it makes sense to me that it should be easier for new users to make use of this feature without resorting to investigate the source code of dispatch and API of async-http-client. Changing Defaults is a step in the right direction though.

from reboot.

n8han avatar n8han commented on August 17, 2024

Geez guys, can't Dispatch keep anything private? :)

I didn't have time to come up with a great Defaults interface for 0.9.3 and needed some freedom to redo it in the future. There should really be a method on Http for building on the default configuration. I'll push some code here in a bit.

With 0.9.3 you'll have to live with some config boilerplate, but at least it's forwards-compatible config boilerplate!

from reboot.

n8han avatar n8han commented on August 17, 2024

Also now that I'm aware of this issue I'm inclined to default to not having a request timeout. Any thoughts on the downsides of that?

from reboot.

itaibenari avatar itaibenari commented on August 17, 2024

None in my eyes.

from reboot.

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.