We will be sunsetting Advisor during Jan, 2026 and will instead be providing information in Snyk Security DB.

You can begin to take advantage of Snyk Security DB today for a unified, package-centric experience.

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 6 months ago

Package Health Score

70 / 100
Full package analysis