Skip to content

@deltares/fews-web-oc-composables


@deltares/fews-web-oc-composables / HostRefreshContext

Interface: HostRefreshContext ​

Defined in: shared/hostRefreshContext.ts:3

Properties ​

systemTick ​

systemTick: Ref<Date | undefined>

Defined in: shared/hostRefreshContext.ts:11

A ref that the host updates on a regular interval (e.g. every minute) to act as a shared "system time" signal.

Composables such as useRefreshCoordinator watch this ref to trigger onSystemTick refreshes without each one needing its own timer.