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

Peer should be an EventTarget and emit events #342

Open
sgwilym opened this issue May 30, 2024 · 0 comments
Open

Peer should be an EventTarget and emit events #342

sgwilym opened this issue May 30, 2024 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers willow Issues with the willow branch.
Milestone

Comments

@sgwilym
Copy link
Contributor

sgwilym commented May 30, 2024

What's the problem you want solved?

There is no way to observe when certain changes have taken place to a Peer without being directly responsible for those changes yourself.

Is there a solution you'd like to recommend?

Peer should extend EventTarget and should be able to pass on events from its underlying Auth (#341), and for when a new share becomes available thanks to the addition of a capability.

@sgwilym sgwilym added enhancement New feature or request willow Issues with the willow branch. labels May 30, 2024
@sgwilym sgwilym added this to the Willow milestone May 30, 2024
@sgwilym sgwilym added the good first issue Good for newcomers label May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers willow Issues with the willow branch.
Projects
Development

No branches or pull requests

1 participant