react-native-tracker.eventstoreconfiguration
Home > @snowplow/react-native-tracker > EventStoreConfiguration
EventStoreConfiguration interface
Configuration for the event store
Signature:export interface EventStoreConfiguration
Properties
| Property | Type | Description |
|---|---|---|
| asyncStorage? | AsyncStorage | (Optional) The Async storage implementation. In environments where AsyncStorage is not available or where another kind of storage is used, you can provide a custom implementation. |
| maxEventStoreSize? | number | (Optional) The maximum amount of events that will be buffered in the event storeWill drop events once the limit is hit |
| useAsyncStorageForEventStore? | boolean | (Optional) Whether to use the AsyncStorage library as the persistent event store for the event store |