Preparing search index...
The search index is not available
@drift-labs/sdk
@drift-labs/sdk
NodeList
Class NodeList<NodeType>
Type Parameters
NodeType
extends
keyof
DLOBNodeMap
Hierarchy
NodeList
Implements
DLOBNodeGenerator
Index
Constructors
constructor
Properties
head?
length
node
Map
node
Type
sort
Direction
Methods
clear
get
get
Generator
has
insert
prepend
Node
print
print
Top
remove
update
Constructors
constructor
new
Node
List
<
NodeType
>
(
nodeType
:
NodeType
, sortDirection
:
SortDirection
)
:
NodeList
<
NodeType
>
Type Parameters
NodeType
extends
keyof
DLOBNodeMap
Parameters
nodeType:
NodeType
sortDirection:
SortDirection
Returns
NodeList
<
NodeType
>
Properties
Optional
head
head
?:
DLOBNodeMap
[
NodeType
]
length
length
:
number
= 0
node
Map
node
Map
:
Map
<
string
,
DLOBNodeMap
[
NodeType
]
>
= ...
Private
node
Type
node
Type
:
NodeType
Private
sort
Direction
sort
Direction
:
SortDirection
Methods
clear
clear
(
)
:
void
Returns
void
get
get
(
orderSignature
:
string
)
:
DLOBNodeMap
[
NodeType
]
Parameters
orderSignature:
string
Returns
DLOBNodeMap
[
NodeType
]
get
Generator
get
Generator
(
)
:
Generator
<
DLOBNode
,
any
,
unknown
>
Returns
Generator
<
DLOBNode
,
any
,
unknown
>
has
has
(
order
:
Order
, userAccount
:
string
)
:
boolean
Parameters
order:
Order
userAccount:
string
Returns
boolean
insert
insert
(
order
:
Order
, marketType
:
MarketTypeStr
, userAccount
:
string
)
:
void
Parameters
order:
Order
marketType:
MarketTypeStr
userAccount:
string
Returns
void
prepend
Node
prepend
Node
(
currentNode
:
DLOBNodeMap
[
NodeType
]
, newNode
:
DLOBNodeMap
[
NodeType
]
)
:
boolean
Parameters
currentNode:
DLOBNodeMap
[
NodeType
]
newNode:
DLOBNodeMap
[
NodeType
]
Returns
boolean
print
print
(
)
:
void
Returns
void
print
Top
print
Top
(
)
:
void
Returns
void
remove
remove
(
order
:
Order
, userAccount
:
string
)
:
void
Parameters
order:
Order
userAccount:
string
Returns
void
update
update
(
order
:
Order
, userAccount
:
string
)
:
void
Parameters
order:
Order
userAccount:
string
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
@drift-
labs/sdk
BN
pyth
Node
List
constructor
head?
length
node
Map
node
Type
sort
Direction
clear
get
get
Generator
has
insert
prepend
Node
print
print
Top
remove
update
Generated using
TypeDoc