Function: watchNotifications()
function watchNotifications(node, options): () => void;Defined in: packages/std/src/watch-notifications.ts:64
Starts matching. Needs a node with the account key — an app connected with
scope: 'account'; any other has no automations to read, and hears nothing.
Parameters
| Parameter | Type |
|---|---|
node | P2PNode |
options | WatchNotificationsOptions |
Returns
Stops it
() => void