@ file : Suppress (" unused ") Ċ Ċ package Ġcom . dy l anc . ret rofit . coroutines Ċ Ċ import Ġkotlinx . coroutines . flow .* Ċ Ċ /** Ċ Ġ* Ġ@ author ĠD y lan ĠC ai Ċ Ġ*/ Ċ Ċ fun Ġ< T > ĠFlow < T >. show Loading With ( flow : ĠMutable Shared Flow < Boolean >) Ġ= ĊĠ ĠonStart Ġ{ Ġflow . emit ( true ) Ġ} ĊĠĠĠ Ġ. on Completion Ġ{ Ġflow . emit ( false ) Ġ} Ċ Ċ fun Ġ< T > ĠFlow < T >. catch With ( flow : ĠMutable Shared Flow < Throwable >) Ġ= ĊĠ Ġcatch Ġ{ Ġflow . emit ( it ) Ġ} Ċ