toggle menu
Kotlin Wrappers API Reference
js
switch theme
search in API
kotlin-remix-run-router
/
remix.run.router
/
DeferredData
Deferred
Data
external
class
DeferredData
(
source
)
Members
Constructors
Deferred
Data
Link copied to clipboard
constructor
(
data
:
ReadonlyRecord
<
String
,
Any
?
>
,
responseInit
:
ResponseInit
=
definedExternally
)
Properties
data
Link copied to clipboard
var
data
:
ReadonlyRecord
<
String
,
Any
?
>
deferred
Keys
Link copied to clipboard
var
deferredKeys
:
ReadonlyArray
<
String
>
done
Link copied to clipboard
val
done
:
Boolean
init
Link copied to clipboard
var
init
:
ResponseInit
?
pending
Keys
Link copied to clipboard
val
pendingKeys
:
ReadonlyArray
<
String
>
unwrapped
Data
Link copied to clipboard
val
unwrappedData
:
Any
Functions
cancel
Link copied to clipboard
fun
cancel
(
)
resolve
Data
Link copied to clipboard
fun
resolveData
(
signal
:
AbortSignal
)
:
Promise
<
Boolean
>
subscribe
Link copied to clipboard
fun
subscribe
(
fn
:
(
aborted
:
Boolean
,
settledKey
:
String
?
)
->
Unit
)
:
(
)
->
Boolean