package io.rebble.libpebblecommon.js import platform.JavaScriptCore.JSContext interface RegisterableJsInterface: AutoCloseable { val interf: Map val name: String fun dispatch(method: String, args: List): Any? fun onRegister(jsContext: JSContext) {} }