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 |