Options
All
  • Public
  • Public/Protected
  • All
Menu

Class OffsetAndMetadata

Provide additional metadata when an offset is committed

Hierarchy

  • OffsetAndMetadata

Index

Constructors

constructor

Methods

getMetadata

  • getMetadata(): string
  • Set additional metadata for the offset committed

    Returns string

getOffset

  • getOffset(): number
  • Set the offset to commit

    Returns number

setMetadata

  • Set additional metadata for the offset committed

    Parameters

    • metadata: string

    Returns OffsetAndMetadata

setOffset

  • Set the offset to commit

    Parameters

    • offset: number

    Returns OffsetAndMetadata

toJson

  • toJson(): {}
  • Returns {}

    • [key: string]: any

Generated using TypeDoc