Skip to main content

Interface: WatchedValueSubscribeOptions

Broker.WatchedValueSubscribeOptions

Properties​

callWithLast​

Optional

callWithLast: boolean

if it is set to true then the callback will be executed with the previous value (if available)


once​

Optional

once: boolean

Subscribe for only one update, and remove subscription afterwards. (the callback will be executed only once)