Skip to content

spatial-monorepo


spatial-monorepo / core/src / UsePopularTimesOptions

Interface: UsePopularTimesOptions

Defined in: packages/core/src/hooks/usePopularTimes.ts:34

Properties

bus

bus: DataBus

Defined in: packages/core/src/hooks/usePopularTimes.ts:36

The DataBus instance to subscribe to.


since?

optional since?: Date

Defined in: packages/core/src/hooks/usePopularTimes.ts:41

When set, only buckets with ts >= since.getTime() are returned. Buckets that lack a ts field are always kept (backward compatibility).

Released under commercial licensing.