toggle menu
Kotlin Wrappers API Reference
js
switch theme
search in API
kotlin-tanstack-query-core
/
tanstack.query.core
/
OnlineManager
Online
Manager
open
external
class
OnlineManager
:
Subscribable
<
Listener
>
(
source
)
Members
Constructors
Online
Manager
Link copied to clipboard
constructor
(
)
Functions
has
Listeners
Link copied to clipboard
open
fun
hasListeners
(
)
:
Boolean
is
Online
Link copied to clipboard
open
fun
isOnline
(
)
:
Boolean
set
Event
Listener
Link copied to clipboard
open
fun
setEventListener
(
setup
:
OnlineManagerSetupFn
)
set
Online
Link copied to clipboard
open
fun
setOnline
(
online
:
Boolean
)
subscribe
Link copied to clipboard
open
fun
subscribe
(
listener
:
Listener
)
:
(
)
->
Unit