HWatch class abstract

HWatch models a subscription to a list of entity records.

Use HProj.watchOpen to create a watch.

See Project Haystack

Constructors

HWatch()

Properties

dis String
Debug display string used during "HProj.watchOpen"
no setter
hashCode int
The hash code for this object.
no setterinherited
id String?
Unique watch identifier within a project database.
no setter
isOpen bool
Returns whether this watch is currently open.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() Future
Close the watch and free up any state resources.
lease() HNum?
Lease period or null if watch has not been opened yet.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pollChanges() Future<HGrid>
Poll for any changes to the subscribed records.
pollRefresh() Future<HGrid>
Poll all the subscribed records even if there have been no changes.
sub(List<HRef> ids, {bool checked = true}) Future<HGrid>
Add a list of records to the subscription list and return their current representation.
toString() String
A string representation of this object.
inherited
unsub(List<HRef> ids) Future<HGrid>
Remove a list of records from watch.

Operators

operator ==(Object other) bool
The equality operator.
inherited