xaviervia / sydney

Event Subscription/Venue library for JavaScript
ISC License
0 stars 0 forks source link

Add `release` method to remove all subscriptions whose endpoint match #12

Open xaviervia opened 9 years ago

xaviervia commented 9 years ago

This is a method that takes the argument and removes all subscribers that return true when matching the argument (that might be a example event). This is of course way closer to JSTP, so maybe not?

xaviervia commented 9 years ago

What about this? Should be done or not?

xaviervia commented 9 years ago

No. It should be done in the same that implements the integration with https://github.com/xaviervia/object-pattern ( like #4 )