Fetch the point-in-time REST baseline for a schedule block against
the Play Live schedule API (GET /schedules/campaigns/{id}/raised).
The baseline includes an asOf server timestamp captured just
before the SQL aggregation — anything with completed_at <= asOf is
already reflected in raised, so consumers can add a WebSocket
delta filtered by completed_at > asOf for a live view without
polling. See useCurrentBlockRaised in @playlive/react-pipeline
for the fused view.
Defaults tuned for the baseline pattern: staleTime: Infinity,
refetchInterval: false, refetchOnReconnect: false. Override via
options if you want a different cadence.
Auto-disables when any of campaignId / start / end is nullish.
Fetch the point-in-time REST baseline for a schedule block against the Play Live schedule API (
GET /schedules/campaigns/{id}/raised).The baseline includes an
asOfserver timestamp captured just before the SQL aggregation — anything withcompleted_at <= asOfis already reflected inraised, so consumers can add a WebSocket delta filtered bycompleted_at > asOffor a live view without polling. SeeuseCurrentBlockRaisedin@playlive/react-pipelinefor the fused view.Defaults tuned for the baseline pattern:
staleTime: Infinity,refetchInterval: false,refetchOnReconnect: false. Override viaoptionsif you want a different cadence.Auto-disables when any of
campaignId/start/endis nullish.