package Ġomn ia . util . reak t ive . observable Ċ Ċ import Ġcom . bad oo . reak t ive . observable . Observable Ċ import Ġcom . bad oo . reak t ive . single . map Ċ import Ġomn ia . data . structure . immutable . ImmutableList Ċ Ċ fun Ġ< T Ġ: ĠAny > ĠObservable < T >. collect Into ImmutableList () Ġ= ĊĠ Ġthis . collect Into ( ImmutableList . Companion :: builder , ĠImmutableList . Builder < T >:: add ) ĊĠĠĠ Ġ. map ( ImmutableList . Builder < T >:: build )