EventMeta
@blobs/sdk / events / EventMeta
Defined in: events/WireEventManager.ts:56
Routing metadata attached to every dispatched event.
Tells handlers which event fired, when, on which network, and where it
came from (websocket, http, grpc, or a locally-emitted local).
Properties
event
event:
string
Defined in: events/WireEventManager.ts:58
The exact event name as it appeared on the wire.
timestamp
timestamp:
number
Defined in: events/WireEventManager.ts:60
Unix timestamp (ms) when the event entered the manager.
requestId?
optionalrequestId?:string
Defined in: events/WireEventManager.ts:62
Correlated request id when the event is a reply to a request.
networkId?
optionalnetworkId?:string
Defined in: events/WireEventManager.ts:64
Network identifier the event arrived on, when multi-network is in use.
source
source:
"local"|"http"|"websocket"|"grpc"
Defined in: events/WireEventManager.ts:66
The transport (or local) that produced the event.