ApiCoreFunctions
Function: watchNotifications()
function watchNotifications(node, options): () => void;Defined in: packages/core/src/node/watch-notifications.ts:55
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