Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AwarenessMock

Default user implementation.

Hierarchy

  • AwarenessMock

Implements

Index

Constructors

constructor

Properties

_checkInterval

_checkInterval: any

_observers

_observers: any

Some desc.

clientID

clientID: number

doc

doc: Doc

meta

meta: Map<any, any> = ...

states

states: Map<any, any> = ...

Maps from client id to client state

Methods

destroy

  • destroy(): void

emit

  • emit(name: string, args: any): void

getLocalState

  • getLocalState(): any

getStates

  • getStates(): any

off

  • off(name: string, f: any): void

on

  • on(name: string, f: any): void

once

  • once(name: string, f: any): void

setLocalState

  • setLocalState(state: any): void

setLocalStateField

  • setLocalStateField(field: string, value: any): void

Generated using TypeDoc