Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notify caller of torrent creation in seed call #1696

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

@@ -267,6 +267,7 @@ class WebTorrent extends EventEmitter {
if (!opts.createdBy) opts.createdBy = `WebTorrent/${VERSION_STR}`

const onTorrent = torrent => {
opts.onTorrent && opts.onTorrent(torrent)
const tasks = [
cb => {
// when a filesystem path is specified, files are already in the FS store
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.