package Ġcom . fab irt . deb ty . ui . feature discovery Ċ Ċ import Ġandroidx . lifecycle . ViewModel Ċ import Ġandroidx . lifecycle . viewModel Scope Ċ import Ġcom . fab irt . deb ty . domain . model . Feature To Discover Ċ import Ġcom . fab irt . deb ty . domain . repository . feature discovery . Feature Discovery Repository Ċ import Ġdagger . h ilt . android . lifecycle . H ilt ViewModel Ċ import Ġkotlinx . coroutines . launch Ċ import Ġjavax . inject . Inject Ċ Ċ @ H ilt ViewModel Ċ class ĠFeature Discovery ViewModel Ġ@ Inject Ġconstructor ( ĊĠĠĠ Ġprivate Ġval Ġrepository : ĠFeature Discovery Repository Ċ ) Ġ: ĠViewModel () Ġ{ ĊĊĠĠĠ Ġsuspend Ġfun Ġis Feature Dis covered ( ĊĠĠĠĠĠĠĠ Ġfeature To Discover : ĠFeature To Discover ĊĠĠĠ Ġ) Ġ= Ġrepository . is Feature Dis covered ( feature To Discover ) ĊĊĠĠĠ Ġfun Ġstore Feature As Dis covered ( feature To Discover : ĠFeature To Discover ) Ġ{ ĊĠĠĠĠĠĠĠ ĠviewModel Scope . launch Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġrepository . store Feature As Dis covered ( feature To Discover ) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} Ċ }