{"version":"2.1.336","anchor":"paused-data-watches-resume-on-a-human-turn","canonical_anchor":"paused-data-watches-resume-on-a-human-turn","heading":"Artifacts get data watches that look for new data and wake when you type","tier":"notice","area":"Elsewhere","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.336\/e\/paused-data-watches-resume-on-a-human-turn","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.336","markdown":"### Artifacts get data watches that look for new data and wake when you type\n\nArtifact presence connections now drive dataWatches lookups, which pause on reset, stop with the task and resume on your next message\n\n**What**\n\nArtifacts keep a live connection, called a presence socket, while open. That connection now drives data watches (`dataWatches`), which look up an artifact's data:\n\n- Presence sockets now handle `pong` and `ctrl:data` messages, which trigger data watch lookups on slightly randomised timers.\n\n- Data watches are paused when the connection resets and stopped when the task stops.\n\n- When you send a message, any paused data watch looks again (`look()`) and is unpaused, before `autoReactHumanTurnObserver` runs. Before, only `autoReactHumanTurnObserver` ran.\n\n**Why**\n\nLive artifacts can now refresh when their data changes, and a watch that was paused picks up again as soon as you type.\n\n- Area: Elsewhere\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}