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 = null