Skip to content
This repository was archived by the owner on Mar 11, 2020. It is now read-only.

update the dial interface to cope with new pull additions #8

Merged
merged 3 commits into from
Sep 5, 2016

Conversation

daviddias
Copy link
Member

No description provided.

@@ -96,12 +94,7 @@ This method dials a transport to the Peer listening on `multiaddr`.

`callback` should follow the `function (err, conn)` signature.

`conn` is the same `conn` that gets returned by call, which should follow [`interface-connection`](https://github.com/diasdavid/interface-connection). This `conn` object can emit 3 extra events:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The callback now has the signature of only function (err) not with the conn inside

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't want to leave the conn inside too?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not at this point at least

Copy link
Member Author

@daviddias daviddias Aug 21, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would like to keep it there too, it is convenient when used with waterfall flows, fine :)

@@ -15,9 +30,12 @@
"url": "https://github.com/diasdavid/interface-transport/issues"
},
"homepage": "https://github.com/diasdavid/interface-transport",
"devDependencies": {},
"devDependencies": {
"aegir": "^7.0.1"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is aegir 7 working?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sometimes :D

@daviddias
Copy link
Member Author

I see you added tests 👍 now it needs a rebase :)

@daviddias daviddias merged commit 7f9626d into master Sep 5, 2016
@daviddias daviddias deleted the feat/update-pull branch September 5, 2016 21:29
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants