Class Presence<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

channel: string
connection: string
localPresences: Record<string, LocalPresence<T>>
remotePresences: Record<string, T>
subscribed: boolean
wantSubscribe: boolean
defaultMaxListeners: number

Methods

  • Parameters

    • Optionalid: string

    Returns LocalPresence<T>

  • Parameters

    Returns void

  • Returns number

  • Parameters

    • n: number

    Returns this

  • Parameters

    Returns void

  • Parameters

    Returns void