Function: updateEventsStore() ​
updateEventsStore(
newEvents):Effect<void,ConfigError|Error,EventsStore|ContextStore>
Defined in: packages/validate-openalex/src/store/updater.ts:16
Updates the EventsStore with new events, ensuring no duplicates.
Parameters ​
newEvents ​
IEvent[]
New events to add to the store
Returns ​
Effect<void, ConfigError | Error, EventsStore | ContextStore>
An Effect that updates the EventsStore with the new events, ensuring no duplicates.