Class LiveCounter

Static utilities related to LiveCounter instances.

Hierarchy

  • LiveCounter

Constructors

Properties

Methods

Constructors

Properties

[___livetype]: "LiveCounter"

LiveCounter type symbol

Methods

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

    Parameters

    • Optional initialCount: number

      Optional initial count for the new LiveCounter object.

    Returns LiveCounter

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

Generated using TypeDoc