package Ġcom . silver p ants . instant aneous . domain . user Ċ Ċ import Ġcom . silver p ants . instant aneous . data . user . UserRepository Ċ import Ġcom . silver p ants . instant aneous . di . Io Dispatcher Ċ import Ġcom . silver p ants . instant aneous . domain . UseCase Ċ import Ġkotlinx . coroutines . Coroutine Dispatcher Ċ import Ġjavax . inject . Inject Ċ Ċ class ĠUpdate Name UseCase Ġ@ Inject Ġconstructor ( ĊĠĠĠ Ġprivate Ġval Ġuser Repository : ĠUser Repository , ĊĠĠĠ Ġ@ Io Dispatcher Ġdispatcher : ĠCor outine Dispatcher Ċ ) Ġ: ĠUse Case < String , ĠUnit >( dispatcher ) Ġ{ ĊĠĠĠ Ġoverride Ġsuspend Ġfun Ġexecute ( parameters : ĠString ) Ġ{ ĊĠĠĠĠĠĠĠ Ġuser Repository . update User DisplayName ( parameters ) ĊĠĠĠ Ġ} Ċ }