@somnia-chain/markets-sdk / index / WatchHandle
Interface: WatchHandle
Defined in: liveTail.ts:39
A live watch. stop() releases it (idempotent); the underlying
subscription is shared and torn down when the last handle stops.
Methods
stop()
stop():
void
Defined in: liveTail.ts:48
Release this handle's reference on its watch scope (idempotent — extra calls
are no-ops). Handles on the same scope share one subscription; stopping the
LAST one tears down the scope's local materialization after a short linger
(which absorbs unmount/remount without re-snapshotting): the subscription is
dropped and the market's fills/orders are purged, so getLive* reads for it
return empty again. The market row itself is kept for list views.
Returns
void