> ## 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.

# LiveQueryPublish

[API Reference](/api-reference/modelence/server/type-aliases/../../../index) / [modelence](/api-reference/modelence/server/type-aliases/../../index) / [server](/api-reference/modelence/server/type-aliases/../index) / LiveQueryPublish

> **LiveQueryPublish** = () => `void`

Defined in: [packages/modelence/src/live-query/context.ts:5](https://github.com/modelence/modelence/blob/f614ecc6811cdda9670d612872c8ff49a49c5e28/packages/modelence/src/live-query/context.ts#L5)

Publish function provided to watch handlers.
Call this to trigger a re-fetch and send updated data to the client.

## Returns

`void`
