GithubHelp home page GithubHelp logo

sirockin / mqtt-rx Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 1.0 786 KB

A server-side fork of the https://github.com/sclausen/ngx-mqtt repository

License: MIT License

JavaScript 5.12% TypeScript 94.88%

mqtt-rx's People

Contributors

chrste90 avatar cschulz avatar sclausen avatar slevinbe avatar stepanmracek avatar

Stargazers

 avatar  avatar

Forkers

zhangucan

mqtt-rx's Issues

onError tests do not pass

There seems to be an issue with timing of Connect/Connecting events, possibly related to changing from the webpack version of mqtt.js to the standard library. For now these tests are disabled.

"Cannot call write after a stream was destroyed" error when closing a TCP client

When running TCP tests, the console shows the following error each time the client is destroyed:

Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed
    at doWrite (_stream_writable.js:411:19)
    at clearBuffer (_stream_writable.js:522:5)
    at Socket.Writable.uncork (_stream_writable.js:319:7)
    at uncork (C:\flow\third-party-repos\rx-mqtt\node_modules\mqtt-packet\writeToStream.js:75:10)
    at process.internalTickCallback (internal/process/next_tick.js:72:19)

Since this only appears once the client is destroyed, it shouldn't affect production although I would like to confirm it doesn't cause problems when reopening the client.

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.