Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • HubClass

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

name

name: string

protectedChannels

protectedChannels: string[] = ['core', 'auth', 'api', 'analytics', 'interactions', 'pubsub', 'storage', 'xr']

Methods

dispatch

  • dispatch(channel: string, payload: HubPayload, source?: string, ampSymbol?: Symbol): void
  • Parameters

    • channel: string
    • payload: HubPayload
    • Default value source: string = ""
    • Optional ampSymbol: Symbol

    Returns void

listen

remove

  • remove(channel: string | RegExp, listener: HubCallback): void