Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface EventBuffer<T>

EventBuffer is responsible to store and send events to the ingestion service endpoint.

Type parameters

  • T

Hierarchy

  • EventBuffer

Implemented by

Index

Methods

Methods

addItem

  • addItem(item: T): Promise<void>
  • Adds an event to the buffer. An error is thrown if the event buffer is full.

    Parameters

    • item: T

      to add to the buffer.

    Returns Promise<void>

start

  • start(): void

stop

  • stop(): void

Generated using TypeDoc