RxJS 5, converting an observable to a BehaviorSubject(?)
问题 I have a parent observable that, once it has a subscriber, will do a lookup and emit a single value, then complete. I'd like to convert that into an observable (or behavior subject or whatever works) that does the following: once it has at least one subscriber, it gets the result from the parent observable (once). Then it emits that value to all of its subscribers, and also emits that single value to all future subscribers, when they subscribe. It should continue with this behavior even if