https://kotlinlang.org logo
d

dstarcev

01/30/2018, 11:27 AM
Copy code
interface SmsService {
    suspend fun send(phone: String, message: String)
}

interface SmsService {
    fun send(phone: String, message: String): Deferred<Nothing>
}