torsniff - a sniffer that sniffs torrents from BitTorrent network
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
fanpei91 opened this issue 8 years ago · comments
目前 p2pspider 回调过于丑陋, 在能 Promise 化后更加易读的地方就 Promise 化, 最终目的就是代码好读也好写.
这个 Promise 化取消掉, 直接 emit 给用户, 后面得优化下代码, 让使用代码更简单方便.
emit