cache offline errors and send when connected

Deprecated

The offline integration has been deprecated in favor of the offline transport wrapper.

http://docs.sentry.io/platforms/javascript/configuration/transports/#offline-caching

Hierarchy

  • Offline

Implements

Constructors

  • Parameters

    • options: {
          maxStoredEvents?: number;
      } = {}
      • Optional maxStoredEvents?: number

    Returns Offline

    Inherit Doc

Properties

hub?: Hub

the current hub instance

maxStoredEvents: number

maximum number of events to store while offline

name: string = Offline.id

Returns id

offlineEventStore: LocalForage

event cache

id: string = 'Offline'

Inherit Doc

Methods

  • Sets the integration up only once. This takes no options on purpose, options should be passed in the constructor

    Parameters

    • addGlobalEventProcessor: ((callback) => void)
    • getCurrentHub: (() => Hub)

    Returns void

Generated using TypeDoc