Preparing search index...
The search index is not available
nats-base-library
nats-base-library
JsMsgCallback
Type alias JsMsgCallback
Js
Msg
Callback
:
(
(
err
:
NatsError
|
null
, msg
:
JsMsg
|
null
)
=>
void
)
Type declaration
(
err
:
NatsError
|
null
, msg
:
JsMsg
|
null
)
:
void
The signature a message handler for a JetStream subscription.
Parameters
err:
NatsError
|
null
msg:
JsMsg
|
null
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
nats-
base-
library
Ack
Policy
Advisory
Kind
Consumer
Debug
Events
Consumer
Events
Debug
Events
Deliver
Policy
Direct
Msg
Headers
Discard
Policy
Error
Code
Events
Js
Headers
Kv
Watch
Include
Match
Replay
Policy
Republish
Headers
Request
Strategy
Retention
Policy
Service
Response
Type
Service
Verb
Storage
Type
Store
Compression
Bench
Metric
Msg
Hdrs
Impl
Nats
Error
Nuid
Perf
Service
Error
Account
Limits
Advisory
Api
Error
Api
Paged
Request
Authenticator
Backoff
Bench
Opts
Closed
Cluster
Info
Codec
Connection
Options
Consumer
ConsumerAPI
Consumer
Config
Consumer
Info
Consumer
Infoable
Consumer
Messages
Consumer
Opts
Consumer
Opts
Builder
Consumer
Status
Consumer
Update
Config
Consumers
Deferred
Delay
Delivery
Info
Destroyable
Jet
Stream
Account
Stats
Jet
Stream
Api
Stats
Jet
Stream
Client
Jet
Stream
Manager
Jet
Stream
Manager
Options
Jet
Stream
Options
Jet
Stream
Publish
Options
Jet
Stream
Usage
Account
Limits
Js
Msg
Jwt
Auth
KV
Kv
Codec
Kv
Codecs
Kv
Delete
Options
Kv
Entry
Kv
Limits
Kv
Options
Kv
Put
Options
Kv
Status
Last
For
Msg
Request
Lister
Lost
Stream
Data
Msg
Msg
Delete
Request
Msg
Hdrs
NKey
Auth
Nats
Connection
Object
Info
Object
Store
Peer
Info
Placement
Pub
Ack
Publish
Options
Pull
Options
Pullable
Purge
Response
Queued
Iterator
Republish
Request
Many
Options
Request
Options
RoKV
Seq
Msg
Request
Sequence
Info
Server
Info
Servers
Changed
Service
Service
Client
Service
Group
Service
Msg
Service
Response
ServicesAPI
Stats
Status
Stored
Msg
Stream
StreamAPI
Stream
Alternate
Stream
Config
Stream
Consumer
Limits
Stream
Info
Stream
Names
Stream
Source
Stream
Source
Info
Stream
State
Stream
Update
Config
Streams
Sub
Sub
Opts
Subject
Transform
Config
Timeout
Tls
Options
Token
Auth
Typed
Subscription
Options
User
Pass
Views
Abort
On
Missing
Resource
Auth
Bind
Consume
Bytes
Consume
Callback
Consume
Messages
Consume
Options
Consumer
Callback
Fn
Dispatched
Fn
Endpoint
Endpoint
Info
Endpoint
Options
Endpoint
Stats
Expires
External
Stream
Fetch
Bytes
Fetch
Messages
Fetch
Options
Idle
Heartbeat
Ingestion
Filter
Fn
Ingestion
Filter
Fn
Result
Jet
Stream
Pull
Subscription
Jet
Stream
Subscription
Jet
Stream
Subscription
Options
Js
Msg
Callback
Kv
Watch
Options
Max
Bytes
Max
Messages
Msg
Adapter
Msg
Request
Named
Endpoint
Stats
Nanos
Next
Options
No
Auth
Object
Result
Object
Store
Link
Object
Store
Meta
Object
Store
Meta
Options
Object
Store
Options
Object
Store
Put
Opts
Object
Store
Status
Ordered
Consumer
Options
Payload
Protocol
Filter
Fn
Purge
By
Seq
Purge
By
Subject
Purge
Opts
Purge
Trim
Opts
Reviver
Fn
Service
Config
Service
Handler
Service
Identity
Service
Info
Service
Metadata
Service
Stats
Stream
Info
Request
Options
Subscription
Subscription
Options
Sync
Iterator
Threshold
Bytes
Threshold
Messages
Typed
Callback
Empty
Service
Error
Code
Header
Service
Error
Header
nkeys
nuid
JSONCodec
String
Codec
backoff
build
Authenticator
canonicalMIMEHeader
Key
check
Js
Error
consumer
Opts
create
Inbox
creds
Authenticator
deadline
deferred
delay
headers
is
Flow
Control
Msg
is
Heartbeat
Msg
jwt
Authenticator
millis
nanos
nkey
Authenticator
sync
Iterator
token
Authenticator
username
Password
Authenticator
Generated using
TypeDoc
The signature a message handler for a JetStream subscription.