Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BrowserStore

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

  • new BrowserStore(args?: {}, debug?: (message: string) => void): BrowserStore
  • Parameters

    • Optional args: {}
      • [p: string]: any
    • Optional debug: (message: string) => void
        • (message: string): void
        • Parameters

          • message: string

          Returns void

    Returns BrowserStore

Properties

consents

consents: Consents = ...

events

events: Event[] = []

visits

visits: Visit[] = []

Methods

load

  • Parameters

    • args: {}
      • [p: string]: any

    Returns undefined | StoreData

persist

  • persist(async: boolean, callback: (error?: Error) => void): void
  • Parameters

    • async: boolean
    • callback: (error?: Error) => void
        • (error?: Error): void
        • Parameters

          • Optional error: Error

          Returns void

    Returns void

send

  • send(data: string, server: string, timeout: number, done: (error?: Error) => void): void
  • Parameters

    • data: string
    • server: string
    • timeout: number
    • done: (error?: Error) => void
        • (error?: Error): void
        • Parameters

          • Optional error: Error

          Returns void

    Returns void

Generated using TypeDoc