Options
All
  • Public
  • Public/Protected
  • All
Menu

Class InMemoryJSONEventBuffer

InMemoryJSONEventBuffer is an in-memory implementation for buffering and sending events. It buffers events based on number of events and its size whichever reaches first. Events are sent out at an scheduled interval where important events are sent immediately. It also retries sending events if failed upto the retry count limit. It implements beaconing mechanism based on 'pagehide' and 'visibilitychange' to beacon all events as a last attempt.

Hierarchy

  • InMemoryJSONEventBuffer

Implements

Index

Constructors

Methods

Constructors

constructor

Methods

addItem

destroy

  • destroy(): Promise<void>

start

  • start(): void

stop

  • stop(): void

Generated using TypeDoc