Git Product home page Git Product logo

Comments (4)

MatteoJoliveau avatar MatteoJoliveau commented on June 29, 2024 1

Hi @RangerMauve, that's a good idea, thanks for your replies. I'll let you know if/when I'll publish the project

from async-mqtt.

Tabrizian avatar Tabrizian commented on June 29, 2024

Hi there!

Your idea is actually amazing and I find it very interesting, but the purpose of this repository is to only provide a promise wrapper around the MQTT.js. I don't think that this relates to here.

But it's an idea that I actually craved about. To define routes for MQTT.

Also, I think that the topic you mentioned should be generalized more. For example instead of converting my/topic to my/topic/request/{id} maybe its better to use it this way my/topic/request/{id} to better describe the topic.

from async-mqtt.

MatteoJoliveau avatar MatteoJoliveau commented on June 29, 2024

Hello!
Yeah you're right, I thought it was a good idea to not have 65 different clients with 65 different features each, but I think I'll just make my own at this point to not bloat this one.

Can you elaborate on the part about topics? I didn't understand what you mean.

from async-mqtt.

RangerMauve avatar RangerMauve commented on June 29, 2024

Hi @MatteoJoliveau, I agree with @Tabrizian about your requests model not being in-line with the goal of this library. This client is really made to be general purpose and lower level.
The request thing you have is interesting, but I think it's very specific to your use case.

If you end up using this as a dependency, I think it would be fine for us to mention your library in the README in a projects using this section so that people can find your library more easily.

from async-mqtt.

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.