Search
Preparing search index...
The search index is not available
Helium JS
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Helium JS
http
ResourceList
Class ResourceList<T>
Type Parameters
T
extends
DataModel
Hierarchy
ResourceList
Index
Constructors
constructor
Properties
cursor
data
fetch
More
take
Iterator
Accessors
has
More
Methods
[
Symbol.async
Iterator]
next
Page
take
takeJSON
take
Reset
Constructors
constructor
new
Resource
List
<
T
>
(
data
:
T
[]
, fetchMore
?:
FetchMoreFn
, cursor
?:
string
)
:
ResourceList
<
T
>
Type Parameters
T
extends
default
<
T
>
Parameters
data:
T
[]
Optional
fetchMore:
FetchMoreFn
Optional
cursor:
string
Returns
ResourceList
<
T
>
Properties
Private
Optional
cursor
cursor
?:
string
data
data
:
T
[]
Private
Optional
fetch
More
fetch
More
?:
FetchMoreFn
Private
Optional
take
Iterator
take
Iterator
?:
AsyncGenerator
<
any
,
void
,
any
>
Accessors
has
More
get
hasMore
(
)
:
boolean
Returns
boolean
Methods
[
Symbol.async
Iterator]
[
Symbol.async
Iterator]
(
)
:
AsyncGenerator
<
any
,
void
,
any
>
Returns
AsyncGenerator
<
any
,
void
,
any
>
next
Page
next
Page
(
)
:
Promise
<
ResourceList
<
T
>
>
Returns
Promise
<
ResourceList
<
T
>
>
take
take
(
count
:
number
)
:
Promise
<
T
[]
>
Parameters
count:
number
Returns
Promise
<
T
[]
>
takeJSON
takeJSON
(
count
:
number
)
:
Promise
<
Pick
<
T
,
Exclude
<
keyof
T
,
"client"
>
>
[]
>
Parameters
count:
number
Returns
Promise
<
Pick
<
T
,
Exclude
<
keyof
T
,
"client"
>
>
[]
>
take
Reset
take
Reset
(
)
:
void
Returns
void
Modules
address
crypto
crypto-
react-
native
currency
http
onboarding
proto-
ble/build
transactions
wallet-
link
Resource
List
constructor
cursor
data
fetch
More
take
Iterator
has
More
[
Symbol.async
Iterator]
next
Page
take
takeJSON
take
Reset
Generated using
TypeDoc