UNPKG
@yepmind/nats-rx-client
Version:
latest (1.0.1)
1.0.1
1.0.0
yepmind.dev
@yepmind/nats-rx-client
/
dist
/
nats-event-message.d.ts
12 lines
(11 loc)
•
249 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
import
{
Msg
}
from
'nats'
;
export
declare
class
NatsEventMessage
{
private
message;
private
readonly
jsonCodec;
constructor
(
message
:
Msg
);
get
data
(): {
cmd
:
string
;
payload
:
any
; };
get
subject
():
string
; }