Skip to content

Instantly share code, notes, and snippets.

@Devcon4
Last active September 2, 2018 22:53
Show Gist options
  • Select an option

  • Save Devcon4/66a5f95b3a6f63c78e475f22e98f1642 to your computer and use it in GitHub Desktop.

Select an option

Save Devcon4/66a5f95b3a6f63c78e475f22e98f1642 to your computer and use it in GitHub Desktop.
ObservableSource
/**
* A representation of any set of values over any amount of time. This is the most basic building block
* of RxJS.
*/
export class Observable<T> implements Subscribable<T> {
constructor(subscribe?: (this: Observable<T>, subscriber: Subscriber<T>) => TeardownLogic) { }
subscribe(observerOrNext?: PartialObserver<T> | ((value: T) => void),
error?: (error: any) => void,
complete?: () => void): Subscription;
pipe(...operations: OperatorFunction<any, any>[]): Observable<any> {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment