You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This would clean up/DRY out the codebase (proxies is a bit of a hack), and provide a possible extension point for 3rd parties to create new derivations of MotionObservable. _multicast and _remember would use IndefiniteSubjects for multicasting, and return an instance of species subscribed to the subject to ensure callers have operators. The other operators would just use new this[Symbol.species] rather than new MotionObservable.
The text was updated successfully, but these errors were encountered:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol/species
This would clean up/DRY out the codebase (proxies is a bit of a hack), and provide a possible extension point for 3rd parties to create new derivations of MotionObservable.
_multicast
and_remember
would use IndefiniteSubjects for multicasting, and return an instance ofspecies
subscribed to the subject to ensure callers have operators. The other operators would just usenew this[Symbol.species]
rather thannew MotionObservable
.The text was updated successfully, but these errors were encountered: