Class Presence<P>

Presence represents a proxy for the Presence to be manipulated from the outside.

Type Parameters

Constructors

Properties

Methods

Constructors

Properties

context: ChangeContext<Indexable>
presence: P

Methods

  • set updates the presence based on the partial presence.

    Parameters

    • presence: Partial<P>
    • Optional option: {
          addToHistory: boolean;
      }
      • addToHistory: boolean

    Returns void