A service for using watches.

Constructors

Methods

Constructors

Methods

  • Request a poll for all opened watches.

    Please note, polls are normally handled automatically so manually calling this is not normally required.

    Returns Promise<void>

  • Triggers a manual update of the watches.

    This is used to manually update dicts outside of a poll. Providing the dicts are newer and they're being watched, any listeners will receive the update as if they were updated from the server via a watch poll request.

    Parameters

    • dicts: HaysonDict | HDict | HGrid | HaysonDict[] | HList<HDict> | HDict[]

      The dicts to update.

    Returns Promise<void>