How to use the zeromq.ZMQ_LINGER function in zeromq

To help you get started, we’ve selected a few zeromq examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github hyperledger / sawtooth-core / sdk / javascript / messaging / stream.js View on Github external
close () {
    this._socket.setsockopt(zmq.ZMQ_LINGER, 0)
    this._socket.unmonitor()
    this._socket.close()
    this._socket = null
  }

zeromq

Next-generation ZeroMQ bindings for Node.js

MIT
Latest version published 4 months ago

Package Health Score

73 / 100
Full package analysis