store

store Request: Store zero or more events.

eventstore.store
events array of event: unique
replace existing boolean

Description

store adds an event to Scheduler's events. If the event's unique ID is unique, the provided event is added. If the event's unique ID matches an existing event's unique ID, the existing event is replaced by the provided event.

Use store to add and modify the Event Store's events.

Calling store with an existing event's unique ID, may cause the existing event to be removed and added, even if the provided event matches the existing event. The removal and addition can interrupt performing instances of the event.