Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.modelence.com/llms.txt

Use this file to discover all available pages before exploring further.

API Reference / modelence / server / LiveQueryWatch
LiveQueryWatch = (context) => LiveQueryCleanup | void
Defined in: packages/modelence/src/live-query/context.ts:25 Watch function that sets up real-time monitoring. Receives a context with publish callback to trigger re-fetches. Returns a cleanup function.

Parameters

ParameterType
contextWatchContext

Returns

LiveQueryCleanup | void