Node SDK

Interface BaseEvent<T>

Legend

  • Namespace
  • Variable
  • Function
  • Function with type parameter
  • Type alias
  • Type alias with type parameter
  • Interface
  • Interface with type parameter
  • Property
  • Enumeration
  • Class

The standard RStreams event that is written to and read from RStreams bus queues and thus through Node pipes that work with these queues.

Type parameters

  • T

    The type of data that is the payload of the event, specific to the queue the event is meant for

Hierarchy

Index

Properties

correlation_id?: CorrelationId

Reference the doc on [CorrelationId] that describes this well.

event?: string

This is the name of the RStreams queue this event is in

event_source_timestamp?: number

The timestamp of the first event that made it to the bus that this event eventually derived from, however far back upstream.

default

now

id?: string

The ID of the bot that wrote this event to the queue

payload?: T

The RStreams queue-specific data that this event exists to wrap

timestamp?: number

The millisecond (time since epoch) of when this event was created by the developer.

default

now

Generated using TypeDoc