fun cancel()

in src/main/kotlin/jsitter/api/api.kt [127:137]


    fun cancel() {
        synchronized(this) {
            if (!cancelled) {
                cancelled = true
                val h = handler
                if (h != null) {
                    h()
                }
            }
        }
    }