js-waku icon indicating copy to clipboard operation
js-waku copied to clipboard

feat: remove `filter.subscribe()` dependency on `IReceiver`

Open danisharora099 opened this issue 3 months ago • 2 comments

Problem

IReceiver currently expects subscribe() to be a function on the class implementation that we previously used for Filter. We moved to createSubscription() method instead, which is more generic.

Proposed Solutions

Remove the dependency which should allow us to remove the subscribe() implementation from Filter, and can just exist in the Subscription class instead

Notes

danisharora099 avatar Apr 25 '24 11:04 danisharora099