Preparing search index...
The search index is not available
nats-base-library
nats-base-library
Consumer
Interface Consumer
interface
Consumer
{
consume
(
opts
?
)
:
Promise
<
ConsumerMessages
>
;
delete
(
)
:
Promise
<
boolean
>
;
fetch
(
opts
?
)
:
Promise
<
ConsumerMessages
>
;
info
(
cached
?
)
:
Promise
<
ConsumerInfo
>
;
next
(
opts
?
)
:
Promise
<
JsMsg
>
;
}
Hierarchy
ExportedConsumer
Consumer
Index
Methods
consume
delete
fetch
info
next
Methods
consume
consume
(
opts
?
)
:
Promise
<
ConsumerMessages
>
Parameters
Optional
opts
:
ConsumeOptions
Returns
Promise
<
ConsumerMessages
>
delete
delete
(
)
:
Promise
<
boolean
>
Returns
Promise
<
boolean
>
fetch
fetch
(
opts
?
)
:
Promise
<
ConsumerMessages
>
Parameters
Optional
opts
:
FetchOptions
Returns
Promise
<
ConsumerMessages
>
info
info
(
cached
?
)
:
Promise
<
ConsumerInfo
>
Parameters
Optional
cached
:
boolean
Returns
Promise
<
ConsumerInfo
>
next
next
(
opts
?
)
:
Promise
<
JsMsg
>
Parameters
Optional
opts
:
NextOptions
Returns
Promise
<
JsMsg
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
consume
delete
fetch
info
next
nats-base-library
Loading...