insidewhy/observable-input

Allow default value (act as BehaviorSubject?)

Closed this issue · 1 comments

Hey, I'm wondering if it would be possible to provide default value (first stream tick) via decorator.

The thing is that you can do a lot of things simply by using combineLatest which requires that all sources emit at least once. I know I can do startWith but it would be cool to initialize the value in the decorator itself.

What do you think?

I think it would be better to use startWith.