Preparing search index...
The search index is not available
@meshtastic/js
@meshtastic/js
Utils
Queue
Class Queue
Index
Constructors
constructor
Properties
ack
Notifier
error
Notifier
lock
queue
timeout
Methods
clear
get
State
process
Ack
process
Error
process
Queue
push
remove
wait
Constructors
constructor
new
Queue
(
)
:
Queue
Returns
Queue
Properties
Private
ack
Notifier
ack
Notifier
:
SimpleEventDispatcher
<
number
>
= ...
Private
error
Notifier
error
Notifier
:
SimpleEventDispatcher
<
PacketError
>
= ...
Private
lock
lock
:
boolean
= false
Private
queue
queue
:
QueueItem
[]
= []
Private
timeout
timeout
:
number
Methods
clear
clear
(
)
:
void
Returns
void
get
State
get
State
(
)
:
QueueItem
[]
Returns
QueueItem
[]
process
Ack
process
Ack
(
id
)
:
void
Parameters
id
:
number
Returns
void
process
Error
process
Error
(
e
)
:
void
Parameters
e
:
PacketError
Returns
void
process
Queue
process
Queue
(
writeToRadio
)
:
Promise
<
void
>
Parameters
writeToRadio
:
(
(
data
)
=>
Promise
<
void
>
)
(
data
)
:
Promise
<
void
>
Parameters
data
:
Uint8Array
Returns
Promise
<
void
>
Returns
Promise
<
void
>
push
push
(
item
)
:
void
Parameters
item
:
Omit
<
QueueItem
,
"promise"
|
"sent"
|
"added"
>
Returns
void
remove
remove
(
id
)
:
void
Parameters
id
:
number
Returns
void
wait
wait
(
id
)
:
Promise
<
number
>
Parameters
id
:
number
Returns
Promise
<
number
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
ack
Notifier
error
Notifier
lock
queue
timeout
clear
get
State
process
Ack
process
Error
process
Queue
push
remove
wait
@meshtastic/js
Loading...
Generated using
TypeDoc