Preparing search index...
The search index is not available
nats-base-library
nats-base-library
ConsumerMessages
Interface ConsumerMessages
interface
ConsumerMessages
{
[asyncIterator]
(
)
:
AsyncIterator
<
JsMsg
,
any
,
undefined
>
;
close
(
)
:
Promise
<
void
|
Error
>
;
closed
(
)
:
Promise
<
void
|
Error
>
;
getPending
(
)
:
number
;
getProcessed
(
)
:
number
;
getReceived
(
)
:
number
;
push
(
v
)
:
void
;
status
(
)
:
Promise
<
AsyncIterable
<
ConsumerStatus
>
>
;
stop
(
err
?
)
:
void
;
}
Hierarchy (
view full
)
QueuedIterator
<
JsMsg
>
Close
ConsumerMessages
Index
Methods
[async
Iterator]
close
closed
get
Pending
get
Processed
get
Received
push
status
stop
Methods
[async
Iterator]
[async
Iterator]
(
)
:
AsyncIterator
<
JsMsg
,
any
,
undefined
>
Returns
AsyncIterator
<
JsMsg
,
any
,
undefined
>
close
close
(
)
:
Promise
<
void
|
Error
>
Returns
Promise
<
void
|
Error
>
closed
closed
(
)
:
Promise
<
void
|
Error
>
Returns
Promise
<
void
|
Error
>
get
Pending
get
Pending
(
)
:
number
Returns
number
get
Processed
get
Processed
(
)
:
number
Returns
number
get
Received
get
Received
(
)
:
number
Returns
number
push
push
(
v
)
:
void
Parameters
v
:
JsMsg
Returns
void
status
status
(
)
:
Promise
<
AsyncIterable
<
ConsumerStatus
>
>
Returns
Promise
<
AsyncIterable
<
ConsumerStatus
>
>
stop
stop
(
err
?
)
:
void
Parameters
Optional
err
:
Error
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
[async
Iterator]
close
closed
get
Pending
get
Processed
get
Received
push
status
stop
nats-base-library
Loading...