diff options
author | Feross Aboukhadijeh <feross@feross.org> | 2015-12-28 14:34:31 +0300 |
---|---|---|
committer | Feross Aboukhadijeh <feross@feross.org> | 2015-12-28 14:34:36 +0300 |
commit | cdaeb31826dc09e3705edf401387da31937cdb7e (patch) | |
tree | b497f85d36c2aae31a0cef1f25723588c58b8deb /lib | |
parent | ed9d59f0193fc0421a3b37cbb90510164a5fd044 (diff) |
add todos
Diffstat (limited to 'lib')
-rw-r--r-- | lib/torrent.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/torrent.js b/lib/torrent.js index 00415f3..3d0ba16 100644 --- a/lib/torrent.js +++ b/lib/torrent.js @@ -167,10 +167,12 @@ Object.defineProperty(Torrent.prototype, 'torrentFileURL', { } }) +// TODO: Make this into a property Torrent.prototype.downloadSpeed = function () { return this.swarm ? this.swarm.downloadSpeed() : 0 } +// TODO: Make this into a property Torrent.prototype.uploadSpeed = function () { return this.swarm ? this.swarm.uploadSpeed() : 0 } |