These are chat archives for pozadi/kefir

21st
Jul 2015
Artem Kozlov
@aindlq
Jul 21 2015 09:37
hi, my understanding was is that all operations on observable preserve observable type. So if I X is Property and I do something like X.filter(...).flatMap(...) result will be a Property. But it seems that sometime it is not the case.
could someone confirm that my understanding is valid or explain what is the expected behavior
Roman Pominov
@rpominov
Jul 21 2015 16:00
@aindlq in your example filter preserves type, but flatMap doesn't. General rule: methods from "Modify an observable" section preserve types, while others always return a same type (flatMap always returns streams, for instance).