package Ġcom . hoc 0 8 1 0 9 8 . ref res ht o ken sample . data Ċ Ċ import Ġcom . hoc 0 8 1 0 9 8 . ref res ht o ken sample . App Dispatch ers Ċ import Ġcom . hoc 0 8 1 0 9 8 . ref res ht o ken sample . data . remote . ApiService Ċ import Ġcom . hoc 0 8 1 0 9 8 . ref res ht o ken sample . domain . Demo Repo Ċ import Ġkotlinx . coroutines . with Context Ċ import Ġjava . util . concurrent . atomic . Atomic Integer Ċ import Ġjavax . inject . Inject Ċ Ċ class ĠDemo Repo Impl Ġ@ Inject Ġconstructor ( ĊĠ Ġprivate Ġval Ġapi Service : ĠApi Service , ĊĠ Ġprivate Ġval Ġapp Dispatch ers : ĠApp Dispatch ers , Ċ ) Ġ: ĠDemo Repo Ġ{ ĊĠ Ġprivate Ġval Ġcount Ġ= ĠAtomicInteger () ĊĊĠ Ġoverride Ġsuspend Ġfun Ġdemo () Ġ= Ġwith Context ( app Dispatch ers . io ) Ġ{ ĊĠĠĠ Ġapi Service . demo ( count . get And Increment ()) ĊĠ Ġ} Ċ } Ċ