External usage
Requirements
Example
@JsName("app")
fun app() {
val pingService = PingService()
GlobalScope.launch {
document.getElementById("js-response")?.textContent = pingService.ping("Hello World from Client!")
}
}Last updated