package Ġcom . k run al . coroutines vs rx . data Ċ Ċ import Ġcom . k run al . coroutines vs rx . data . model . Launch Ċ import Ġcom . k run al . coroutines vs rx . data . model . Rocket Detail Ċ import Ġkotlinx . coroutines . experimental . Deferred Ċ import Ġretrofit 2 . http . GET Ċ import Ġretrofit 2 . http . Path Ċ Ċ interface ĠCor outine Rest ful API Ġ{ ĊĠĠĠ Ġ@ GET (" la unches / next ") ĊĠĠĠ Ġfun ĠgetNext Launch (): ĠDeferred < Launch > ĊĊĠĠĠ Ġ@ GET (" rocket s /{ rocket Id }") ĊĠĠĠ Ġfun Ġget Rocket (@ Path (" rocket Id ") Ġrocket Id : ĠString ): ĠDeferred < Rocket Detail > Ċ }