segmentio/nsq.js — pull request #39 by james-huston (2014-09-03 01:23:13+00:00)
Title: Add writer.close callback

Writer.close was missing a callback fire when things were closed up. Added to allow graceful closing of connections and make it's functionality match Reader.close.

Also added basic documentation for both Reader.close and Writer.close to the README.

CC: @gjohnson