Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.

feat: optional self emit #85

Merged
merged 2 commits into from
Jul 25, 2019
Merged

feat: optional self emit #85

merged 2 commits into from
Jul 25, 2019

Conversation

vasco-santos
Copy link
Member

In libp2p-floodsub we currently do emit to self all the times. However, there are several use cases, where we may not want that, and in this context, I added an option to disable it in libp2p-floodsub.

I will open an issue on libp2p/js-libp2p-pubsub for discussing which should be the default behavior from js-libp2p users, as I discussed previously with @jacobheun .

Copy link
Contributor

@jacobheun jacobheun left a comment

Choose a reason for hiding this comment

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

Minor js doc nit, otherwise looks good!

src/index.js Outdated Show resolved Hide resolved
Co-Authored-By: Jacob Heun <jacobheun@gmail.com>
@vasco-santos vasco-santos merged commit a9e73d7 into master Jul 25, 2019
@vasco-santos vasco-santos deleted the feat/self-emit-option branch July 25, 2019 09:21
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