API Reference / modelence / server / LiveDataConfig Defined in: packages/modelence/src/live-query/context.ts:30 Configuration for creating LiveData.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.
Type Parameters
| Type Parameter | Default type |
|---|---|
T | unknown |
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
fetch | () => T | Promise<T> | Fetches the current data. Called initially and whenever watch triggers publish. | packages/modelence/src/live-query/context.ts:34 |
watch | LiveQueryWatch | Sets up watching for changes. Receives publish callback and returns cleanup. | packages/modelence/src/live-query/context.ts:38 |