Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/webtorrent/webtorrent.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Rodríguez Baquero <diegorbaquero@gmail.com>2016-04-16 07:13:55 +0300
committerDiego Rodríguez Baquero <diegorbaquero@gmail.com>2016-04-16 07:13:55 +0300
commitb28e8d637dcbddacdc3981adb524dd9d41f9c431 (patch)
tree5aeecdf9031aa43ad4872456475d7db26bf1f208 /docs/api.md
parent27691c9378e70bcf4cc06c123c0b93145447319d (diff)
Remove extra
Diffstat (limited to 'docs/api.md')
-rw-r--r--docs/api.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/api.md b/docs/api.md
index 175769c..034aeb3 100644
--- a/docs/api.md
+++ b/docs/api.md
@@ -401,18 +401,18 @@ information on how to define a protocol extension.
## `torrent.on('infoHash', function () {})`
-Emitted when the info hash of the torrent has been determined. Can only be accessed synchronously as client.add calls onTorrent callback after 'infoHash' event has been emitted.
+Emitted when the info hash of the torrent has been determined.
## `torrent.on('metadata', function () {})`
Emitted when the metadata of the torrent has been determined. This includes the full
contents of the .torrent file, including list of files, torrent length, piece hashes,
-piece length, etc. Can only be accessed synchronously as client.add calls onTorrent callback after 'metadata' event has been emitted.
+piece length, etc.
## `torrent.on('ready', function () {})`
Emitted when the torrent is ready to be used (i.e. metadata is available and store is
-ready). Can only be accessed synchronously as client.add calls onTorrent callback after 'ready' event has been emitted.
+ready).
# File API