Created
April 1, 2019 20:54
-
-
Save cartant/1c51872ce81bc88369ac3988139d7a6f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
call(subscriber: Subscriber<R>, source: Observable<any>) { | |
const { selector } = this; | |
const subject = this.subjectFactory(); | |
const subscription = selector(subject).subscribe(subscriber); | |
subscription.add(source.subscribe(subject)); | |
return subscription; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment