Tom Typeahead Remote
import dev.kilua.rpc.annotations.RpcService
@RpcService
interface IValueService {
suspend fun values(search: String?, state: String?): List<String>
}TomTypeaheadRemote(serviceManager = getServiceManager<IValueService>(),
function = IValueService::values,
stateFunction = { someState.toString() },
label = "Start typing to see appropriate values"
)Last updated