NewTemporalFactStoreAdapterAt creates an adapter that only exposes facts valid at the specified time.
(temporal TemporalFactStore, t time.Time)
| 414 | // NewTemporalFactStoreAdapterAt creates an adapter that only exposes facts |
| 415 | // valid at the specified time. |
| 416 | func NewTemporalFactStoreAdapterAt(temporal TemporalFactStore, t time.Time) *TemporalFactStoreAdapter { |
| 417 | return &TemporalFactStoreAdapter{temporal: temporal, queryAt: &t} |
| 418 | } |
| 419 | |
| 420 | // Add adds a fact as eternal (valid for all time). |
| 421 | // Note: errors from temporal store are logged but not returned per FactStore interface. |
no outgoing calls