Class LocalPresence<T>

Typed Emitter from: https://github.com/binier/tiny-typed-emitter/

MIT License Copyright (c) 2020 Zurab Benashvili (binier) zura.bena@gmail.com

Type Parameters

  • T = any

Hierarchy (view full)

Constructors

Properties

connection: string
presence: Presence<T>
presenceId: string
presenceVersion: number
value: T
defaultMaxListeners: number

Methods

  • Parameters

    Returns void

  • Returns "error"[]

  • Returns number

  • Parameters

    • type: "error"

    Returns number

  • Type Parameters

    • U extends "error"

    Parameters

    Returns this

  • Type Parameters

    • U extends "error"

    Parameters

    Returns this

  • Type Parameters

    • U extends "error"

    Parameters

    Returns this

  • Parameters

    • Optionalevent: "error"

    Returns this

  • Parameters

    Returns void

  • Parameters

    • n: number

    Returns this

  • Parameters

    Returns void