Open danisharora099 opened 2 months ago
note: it is possible to remove .subscribe
but we have to keep .toSubscriptionIterator
to support js-noise
note: it is possible to remove
.subscribe
but we have to keep.toSubscriptionIterator
to supportjs-noise
Perfect. toSubscriptionIterator
can remain part of SDK
, and we can remove the subscribe()
dependency from Core
Problem
IReceiver
currently expectssubscribe()
to be a function on the class implementation that we previously used for Filter. We moved tocreateSubscription()
method instead, which is more generic.Proposed Solutions
Remove the dependency which should allow us to remove the
subscribe()
implementation fromFilter
, and can just exist in theSubscription
class insteadNotes