publishBehavior.d.ts 388B

1234567891011
  1. import { Observable } from '../Observable';
  2. import { ConnectableObservable } from '../observable/ConnectableObservable';
  3. import { UnaryFunction } from '../interfaces';
  4. /**
  5. * @param value
  6. * @return {ConnectableObservable<T>}
  7. * @method publishBehavior
  8. * @owner Observable
  9. */
  10. export declare function publishBehavior<T>(value: T): UnaryFunction<Observable<T>, ConnectableObservable<T>>;