type

HxWatchService

const mixin HxWatchService : HxService

Watch subscription APIs

methods

get

Find an open watch by its identifier.

isWatched

Return if given record id is under at least one watch

list

List the watches currently open for this runtime.

listOn

Return list of watches currently subscribed to the given id, or return empty list if the given id is not in any watches.

open

Open a new watch with given display string for debugging.

Slot Details

get

abstract HxWatch? get(Str id, Bool checked := true)

Find an open watch by its identifier. If not found then throw Err or return null based on checked flag. Also see Watches.

isWatched

abstract Bool isWatched(Ref id)

Return if given record id is under at least one watch

list

abstract HxWatch[] list()

List the watches currently open for this runtime. Also see Watches.

listOn

abstract HxWatch[] listOn(Ref id)

Return list of watches currently subscribed to the given id, or return empty list if the given id is not in any watches.

open

abstract HxWatch open(Str dis)

Open a new watch with given display string for debugging. Also see Watches.