iex
02/11/2020, 1:39 PMBehaviorSubject but where the value is not optional?kioba
02/11/2020, 4:02 PMBehaviorSubject.createDefault(1)iex
02/11/2020, 5:40 PMvalue on it and it returns the value, not an optional @kiobakioba
02/11/2020, 6:38 PMnull.
Altho it works, Wouldn’t suggest the value usage. Sometimes i comes handy but on a longer terms it is a bad decision. Try to subscribe to the stream instead