Node.js-Design-Patterns-Third-Edition icon indicating copy to clipboard operation
Node.js-Design-Patterns-Third-Edition copied to clipboard

chapter9 the middleware pattern,using zeromq got error

Open jamessawyer opened this issue 1 year ago • 0 comments

Error: Socket is busy writing; only one send operation may be in progress at any time
    at ZmqMiddlewareManager.send (file:///Users/lucian/Documents/2024/nodes/node-design-patterns/ch09-behavioral-patterns/05_middleware/ZmqMiddlewareManager.mjs:27:28) {
  errno: 16,
  code: 'EBUSY'
}

try the zeromq@latest and zero@^6.0.0-beta.6 versions, got no luck. OS: macOS node version: v18.12.1 related links:

  • https://github.com/PacktPublishing/Node.js-Design-Patterns-Third-Edition/blob/master/09-behavioral-design-patterns/13-middleware-zmq/package.json

jamessawyer avatar Oct 27 '24 04:10 jamessawyer