-
Notifications
You must be signed in to change notification settings - Fork 17
Conversation
There is an RFC for how peer discovery interfaces could be updated along with the change to async/await. Ideally if we decided to go that route, getting a baseline of test suites at https://github.com/libp2p/interface-peer-discovery and including that here would be great. |
BREAKING CHANGE: All places in the API that used callbacks are now replaced with async/await refactor(fix): clean up remaining async changes
License: MIT Signed-off-by: Jacob Heun <[email protected]>
1ede512
to
6713f08
Compare
License: MIT Signed-off-by: Jacob Heun <[email protected]>
License: MIT Signed-off-by: Jacob Heun <[email protected]>
I've rebased this off of master. I also removed I also added node 12 to CI. This should be good to go. |
License: MIT Signed-off-by: Jacob Heun <[email protected]>
@vasco-santos I added the new interface-peer-discovery tests, but there is an issue there libp2p/interface-peer-discovery#11 that this depends on. |
I just released the fixed for |
License: MIT Signed-off-by: Jacob Heun <[email protected]>
I updated the interface version, should be all set pending the review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good! Just pointed out 3 minor things
License: MIT Signed-off-by: Jacob Heun <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
BREAKING CHANGE: All places in the API that used callbacks are now replaced with async/await