{"_id":"pull-hang","_rev":"1757796","name":"pull-hang","description":"a pull-stream source that does nothing until you abort it.","dist-tags":{"latest":"0.0.0"},"maintainers":[{"name":"dominictarr","email":"dominic.tarr@gmail.com"}],"time":{"modified":"2026-11-22T15:42:05.000Z","created":"2016-03-15T04:09:32.053Z","0.0.0":"2016-03-15T04:09:32.053Z"},"users":{},"author":{"name":"Dominic Tarr","email":"dominic.tarr@gmail.com","url":"http://dominictarr.com"},"repository":{"type":"git","url":"git://github.com/dominictarr/pull-hang.git"},"versions":{"0.0.0":{"name":"pull-hang","description":"a pull-stream source that does nothing until you abort it.","version":"0.0.0","homepage":"https://github.com/dominictarr/pull-hang","repository":{"type":"git","url":"git://github.com/dominictarr/pull-hang.git"},"dependencies":{},"devDependencies":{},"scripts":{"test":"set -e; for t in test/*.js; do node $t; done"},"author":{"name":"Dominic Tarr","email":"dominic.tarr@gmail.com","url":"http://dominictarr.com"},"license":"MIT","gitHead":"849cde901e48a73567c1c0e028b0b455b3666ccf","bugs":{"url":"https://github.com/dominictarr/pull-hang/issues"},"_id":"pull-hang@0.0.0","_shasum":"cfa1eef002dad1130e78401ce7734713ab2eebda","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.6.0","_npmUser":{"name":"dominictarr","email":"dominic.tarr@gmail.com"},"dist":{"shasum":"cfa1eef002dad1130e78401ce7734713ab2eebda","tarball":"http://registry-npm.ywwl.com/pull-hang/download/pull-hang-0.0.0.tgz","integrity":"sha512-g7bWXaDL2rhWT+GjwoIU6DSNcbKB8SWNSCNl8+ACUmCI6tYWd9IxaMGm09zcrOYdoMEypT7CcedrY1MCez1vzg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEBSj/iYBTCwjg32PKJs1G/DKPvtKPckIG3zwc7QbQ5RAiAFBBeznMEGEThCHtx/QCJKyyOp7vYX333uFWaGVelCSQ=="}],"size":1639,"noattachment":false,"key":"/pull-hang/-/pull-hang-0.0.0.tgz"},"maintainers":[{"name":"dominictarr","email":"dominic.tarr@gmail.com"}],"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/pull-hang-0.0.0.tgz_1458014971464_0.8936421477701515"},"publish_time":1458014972053,"_cnpm_publish_time":1458014972053}},"readme":"# pull-hang\n\na pull-stream source that does nothing until you abort it.\n\n``` js\nvar Hang = require('pull-hang')\n\n\nvar hang = Hang()\npull(\n  hang\n  pull.collect(function (err) {\n    //this will never callback, until you call hang(true, cb)\n  })\n)\n\n//abort the stream after a timeout.\nsetTimeout(function () {\n  hang(true, function () {})\n}, 100)\n\n```\n\n## License\n\nMIT\n","_attachments":{},"homepage":"https://github.com/dominictarr/pull-hang","bugs":{"url":"https://github.com/dominictarr/pull-hang/issues"},"license":"MIT"}