WithMaxIntervalsPerAtom sets the maximum intervals allowed per atom. Negative value disables the limit.
(limit int)
| 103 | // WithMaxIntervalsPerAtom sets the maximum intervals allowed per atom. |
| 104 | // Negative value disables the limit. |
| 105 | func WithMaxIntervalsPerAtom(limit int) TemporalStoreOption { |
| 106 | return func(s *TemporalStore) { s.maxIntervalsPerAtom = limit } |
| 107 | } |
| 108 | |
| 109 | // NewTemporalStore creates a new TemporalStore. |
| 110 | func NewTemporalStore(opts ...TemporalStoreOption) *TemporalStore { |
no outgoing calls