File manager - Edit - /usr/local/lib/node_modules/ghost-cli/node_modules/listr/node_modules/rxjs/src/internal/operators/publishBehavior.ts
Back
import { Observable } from '../Observable'; import { BehaviorSubject } from '../BehaviorSubject'; import { multicast } from './multicast'; import { ConnectableObservable } from '../observable/ConnectableObservable'; import { UnaryFunction } from '../types'; /** * @param value * @return {ConnectableObservable<T>} * @method publishBehavior * @owner Observable */ export function publishBehavior<T>(value: T): UnaryFunction<Observable<T>, ConnectableObservable<T>> { return (source: Observable<T>) => multicast(new BehaviorSubject<T>(value))(source) as ConnectableObservable<T>; }
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings