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 actually breaks the stuff that I'm working on because of the changes to isObservable. The stream library I'm using is most.js and it's constructor.name is Stream and not Observable. However it does implement Observable interfaces.
So how about that: We check with the current custom logic and fallback to is-observable or vice versa. If one of both is true we can be almost certain it is an Observable.
PS: I can also open an issue on zen-observable to use the symbol-observable so is-observable will work with the zen-observable as well.
@andywer The problem with is-observable is not that it doesn't work with zen-observable, it just gives us false-negatives and this has something to do with the import order. We can't change the import order because the Observable is provided by the dev that uses listr.
Due to an issue in is-observable, we have to fall back to duck typing as
isObservable()
always returnsfalse
.The current implementation.
Apparently it's not entirely correct
From @TylorS
From @andywer
// @jamestalmage @sindresorhus @jfmengels
The text was updated successfully, but these errors were encountered: