Sample

class Sample

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
suspend fun getResponseAsync(supplier: () -> String): String

Asynchronously obtains a response from the provided supplier function.

Link copied to clipboard
fun sayHi(name: String): String

Returns a greeting message with the given name.