All Downloads are FREE. Search and download functionalities are using the official Maven repository.

main.react.query.subscribable.core.kt Maven / Gradle / Ivy

// Automatically generated - do not modify!

@file:JsModule("react-query")
@file:JsNonModule

@file:Suppress(
    "NON_EXTERNAL_DECLARATION_IN_INAPPROPRIATE_FILE",
)

package react.query

typealias Listener = () -> Unit

open external class Subscribable> {
    protected open var listeners: Array
    open fun subscribe(listener: TListener = definedExternally): () -> Unit
    open fun hasListeners(): Boolean
    protected open fun onSubscribe()
    protected open fun onUnsubscribe()
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy