Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • EventStorage

Implemented by

Index

Properties

getCurrentSequence

getCurrentSequence: function

Type declaration

    • (aggregate: string, id: string): Promise<number>
    • Parameters

      • aggregate: string
      • id: string

      Returns Promise<number>

getEvents

getEvents: function

Type declaration

    • (aggregate?: undefined | string, id?: undefined | string, fromSequence?: undefined | number): Readable
    • Parameters

      • Optional aggregate: undefined | string
      • Optional id: undefined | string
      • Optional fromSequence: undefined | number

      Returns Readable

store

store: function

Type declaration

    • (event: Event): Promise<void>
    • Parameters

      Returns Promise<void>

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc