addressables
Addressable Interfaces
Using a suspend method
package sample.addressables
import orbit.client.addressable.Addresable
interface Greeter : Addressable {
suspend fun hello(message: String): String
}Using a Kotlin future
package sample.addressables
import kotlinx.coroutines.Deferred
import orbit.client.addressable.Addresable
interface Greeter : Addressable {
fun hello(message: String): Deferred<String>
}Asynchronous Return Types
Concrete Implementation
Using suspending methods
Using a Kotlin future
Lifetime
Execution Model
Safe Execution Mode
Context
Keys
Last updated
Was this helpful?