rxjs-compat
Version:
[](https://circleci.com/gh/ReactiveX/rxjs/tree/6.x) [](http://badge.fury.io/js/%40reactivex%2Frxjs) [![Join the chat
5 lines (4 loc) • 312 B
TypeScript
import { Observable, Unsubscribable, SubscribableOrPromise } from 'rxjs';
export declare class UsingObservable<T> extends Observable<T> {
static create<T>(resourceFactory: () => Unsubscribable | void, observableFactory: (resource: Unsubscribable | void) => SubscribableOrPromise<T> | void): Observable<T>;
}