Class LiveMap<_T>

Static utilities related to LiveMap instances.

Type Parameters

  • _T extends Record<string, Value> = Record<string, Value>

Hierarchy

  • LiveMap

Constructors

Properties

Methods

Constructors

  • Type Parameters

    • _T extends Record<string, Value> = Record<string, Value>

    Returns LiveMap<_T>

Properties

[___livetype]: "LiveMap"

LiveMap type symbol

Methods

  • Creates a LiveMap value type that can be passed to mutation methods (such as set) to assign a new LiveMap to the channel object.

    Type Parameters

    • T extends Record<string, Value>

    Parameters

    • Optional initialEntries: NoInfer<T>

      Optional initial entries for the new LiveMap object.

    Returns LiveMap<T extends Record<string, Value>
        ? T
        : {}>

    A LiveMap value type representing the initial state of the new LiveMap.

Generated using TypeDoc