
main.react.query.mutationObserver.core.kt Maven / Gradle / Ivy
// Automatically generated - do not modify!
@file:JsModule("react-query")
@file:JsNonModule
@file:Suppress(
"UNUSED_TYPEALIAS_PARAMETER",
"NON_EXTERNAL_DECLARATION_IN_INAPPROPRIATE_FILE",
)
package react.query
typealias MutationObserverListener = (result: MutationObserverResult) -> Unit
open external class MutationObserver(
client: QueryClient,
options: MutationObserverOptions,
) : Subscribable> {
open var options: MutationObserverOptions
protected open fun bindMethods()
open fun setOptions(options: MutationObserverOptions = definedExternally)
override fun onUnsubscribe()
open fun onMutationUpdate(action: MutationAction)
open fun getCurrentResult(): MutationObserverResult
open fun reset()
open fun mutate(
variables: TVariables = definedExternally,
options: MutateOptions = definedExternally,
): kotlin.js.Promise
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy