NewConcurrentFactStore returns a new ConcurrentFactStore that wraps the given FactStore.
(base FactStoreWithRemove)
| 1015 | |
| 1016 | // NewConcurrentFactStore returns a new ConcurrentFactStore that wraps the given FactStore. |
| 1017 | func NewConcurrentFactStore(base FactStoreWithRemove) ConcurrentFactStore { |
| 1018 | return ConcurrentFactStore{&sync.RWMutex{}, base} |
| 1019 | } |
no outgoing calls